From: Andy Dougherty Date: Tue, 29 Jul 2008 12:00:52 +0000 (-0400) Subject: Minor hints/linux.sh patch to allow setting -Doptimize X-Git-Tag: code-review/2009-07-22~1835 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/395ff119ce07b37b4047046f91a4e4d2444f162b Minor hints/linux.sh patch to allow setting -Doptimize Message-ID: p4raw-id: //depot/perl@34162 --- diff --git a/hints/linux.sh b/hints/linux.sh index 220e6a0..b254310 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -97,7 +97,7 @@ case "`${cc:-cc} -V 2>&1`" in esac ;; *"Sun C"*) - optimize='-xO2' + test "$optimize" || optimize='-xO2' cccdlflags='-KPIC' lddlflags='-G -Bdynamic' # Sun C doesn't support gcc attributes, but, in many cases, doesn't