summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-01 18:18:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-01 18:18:06 +0000
commit318c098af5208a7f00f6a367e611618ba2af40f6 (patch)
tree4422a40449dd44690bc997b33ba7ed25263de3c7 /hints
parent164336fe285a406eec3a30a591ac139619af9e11 (diff)
downloadperl-318c098af5208a7f00f6a367e611618ba2af40f6.tar.gz
OS X: could not -Doptimize=-g.
p4raw-id: //depot/perl@19375
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index cdb61b05f0..5b8f38d0ae 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