From 23131aa47a1f039c7b6f6bb5dd48b8406773ecac Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Sun, 15 Jul 2001 19:22:31 +0100 Subject: [PATCH] Don't override user-specified optimize flag Message-Id: <20010715182230.A11174@robin> p4raw-id: //depot/perl@11383 --- hints/darwin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.7.4