Don't override user-specified optimize flag
Robin Houston [Sun, 15 Jul 2001 18:22:31 +0000 (19:22 +0100)]
Message-Id:  <20010715182230.A11174@robin>

p4raw-id: //depot/perl@11383

hints/darwin.sh

index ff4b4fb..da34d65 100644 (file)
@@ -41,7 +41,9 @@ usenm='true';
 #libc='/usr/lib/libSystem.dylib';
 
 # Optimize.
-optimize='-O3';
+if [ "x$optimize" = 'x' ]; then
+    optimize='-O3'
+fi
 
 # XXX Unclear why we require -pipe and -fno-common here.
 ccflags="${ccflags} -pipe -fno-common"