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-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=395ff119ce07b37b4047046f91a4e4d2444f162b;p=p5sagit%2Fp5-mst-13.2.git 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