diff options
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | ext/B/hints/openbsd.pl | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,7 @@ ext/B/C/C.xs Compiler C backend external subroutines ext/B/C/Makefile.PL Compiler C backend makefile writer ext/B/defsubs_h.PL Generator for constant subroutines ext/B/hints/darwin.pl Hints for named architecture +ext/B/hints/openbsd.pl Hints for named architecture ext/B/Makefile.PL Compiler backend makefile writer ext/B/NOTES Compiler backend notes ext/B/O.pm Compiler front-end module (-MO=...) 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'; |