From 395ff119ce07b37b4047046f91a4e4d2444f162b Mon Sep 17 00:00:00 2001 From: Andy Dougherty Date: Tue, 29 Jul 2008 08:00:52 -0400 Subject: [PATCH] Minor hints/linux.sh patch to allow setting -Doptimize Message-ID: p4raw-id: //depot/perl@34162 --- hints/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4