summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorRobin Houston <robin@cpan.org>2001-07-15 19:22:31 +0100
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-07-16 13:53:12 +0000
commit23131aa47a1f039c7b6f6bb5dd48b8406773ecac (patch)
tree0ba87900d4faa84f5291e8af22abbb5f609efc62 /hints
parent70612e96eacfe1d980494617b001dbed7e9eee65 (diff)
downloadperl-23131aa47a1f039c7b6f6bb5dd48b8406773ecac.tar.gz
Don't override user-specified optimize flag
Message-Id: <20010715182230.A11174@robin> p4raw-id: //depot/perl@11383
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index ff4b4fbf4d..da34d65f96 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -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"