From: Jarkko Hietaniemi Date: Thu, 1 May 2003 18:18:06 +0000 (+0000) Subject: OS X: could not -Doptimize=-g. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=318c098af5208a7f00f6a367e611618ba2af40f6;p=p5sagit%2Fp5-mst-13.2.git OS X: could not -Doptimize=-g. p4raw-id: //depot/perl@19375 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index cdb61b0..5b8f38d 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -51,6 +51,8 @@ archname='darwin'; # nm works. usenm='true'; +case "$optimize" in +'') # Optimizing for size also mean less resident memory usage on the part # of Perl. Apple asserts that this is a more important optimization than # saving on CPU cycles. Given that memory speed has not increased at @@ -64,6 +66,8 @@ if [ -z "${optimize}" ]; then else optimize='-O3' fi +;; +esac # -pipe: makes compilation go faster. # -fno-common because common symbols are not allowed in MH_DYLIB