From: Robin Houston Date: Sun, 15 Jul 2001 18:22:31 +0000 (+0100) Subject: Don't override user-specified optimize flag X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=23131aa47a1f039c7b6f6bb5dd48b8406773ecac;p=p5sagit%2Fp5-mst-13.2.git Don't override user-specified optimize flag Message-Id: <20010715182230.A11174@robin> p4raw-id: //depot/perl@11383 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index ff4b4fb..da34d65 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"