summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-19 22:26:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-19 22:26:07 +0000
commit3752c3430ae684232ee40dfe8bce24d86e34f392 (patch)
tree0c5e2922c5538abf51a18931bfa4c182f5d2593d /ext/B
parentc631c4196125f63864e9c164bb7a7c876a4ffc34 (diff)
downloadperl-3752c3430ae684232ee40dfe8bce24d86e34f392.tar.gz
Mac OS X 10.1.4 started to consume 150MB+ virtual memory
while trying to -O3 optimize B.c. (A bit weird since 10.1.4 used to work fine, and nothing has changed in ext/B/..., but the overoptimization was repeatable.) p4raw-id: //depot/perl@16699
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/hints/darwin.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/B/hints/darwin.pl b/ext/B/hints/darwin.pl
new file mode 100644
index 0000000000..2f59a60ff9
--- /dev/null
+++ b/ext/B/hints/darwin.pl
@@ -0,0 +1,2 @@
+# gcc -O3 (and -O2) get overly excited over B.c in MacOS X 10.1.4.
+$self->{OPTIMIZE} = '-O1';