Don't override user-specified optimize flag
authorRobin Houston <robin@cpan.org>
Sun, 15 Jul 2001 18:22:31 +0000 (19:22 +0100)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Mon, 16 Jul 2001 13:53:12 +0000 (13:53 +0000)
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"