summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorAlain Barbet <alian@cpan.org>2003-08-19 20:18:03 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-19 16:54:48 +0000
commitc272d378c52f543d764909751ce708de03235bb8 (patch)
tree6aa1564de94d441363bb0be61b506a560ab355bf /ext/B
parent3f528443b6a6bb74adb02f5c77345eadbe5a30cb (diff)
downloadperl-c272d378c52f543d764909751ce708de03235bb8.tar.gz
Can't build thread on openbsd sparc64 => B.c:5078: virtual memory exhausted
Message-ID: <20030819161650.65754.qmail@onion.perl.org> p4raw-id: //depot/perl@20780
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/hints/openbsd.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/B/hints/openbsd.pl b/ext/B/hints/openbsd.pl
new file mode 100644
index 0000000000..bd2149f37e
--- /dev/null
+++ b/ext/B/hints/openbsd.pl
@@ -0,0 +1,2 @@
+# gcc -O3 (and -O2) get overly excited over B.c in OpenBSD 3.3/sparc 64
+$self->{OPTIMIZE} = '-O1' if $Config{ARCH} eq 'sparc64';