diff options
author | Andrew Fresh <afresh1@cvs.openbsd.org> | 2014-05-31 23:16:22 +0000 |
---|---|---|
committer | Andrew Fresh <afresh1@cvs.openbsd.org> | 2014-05-31 23:16:22 +0000 |
commit | 657ce82763e6cddd2f034a0f7430220202aa2def (patch) | |
tree | f60ddd90d8977752f7dfd85ddad2436ee730af10 /gnu/usr.bin/perl | |
parent | 0445a24cf6a74652263151a380d3ead31a48e8b3 (diff) |
Remove now unnecessary local patch to disable usemallocwrap on m68k
Sure miod@
Diffstat (limited to 'gnu/usr.bin/perl')
-rw-r--r-- | gnu/usr.bin/perl/hints/openbsd.sh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh index 4890bd3e99d..5f2772608ba 100644 --- a/gnu/usr.bin/perl/hints/openbsd.sh +++ b/gnu/usr.bin/perl/hints/openbsd.sh @@ -11,6 +11,11 @@ # OpenBSD has a better malloc than perl... test "$usemymalloc" || usemymalloc='n' +# malloc wrap works +case "$usemallocwrap" in +'') usemallocwrap='define' ;; +esac + # Currently, vfork(2) is not a real win over fork(2). usevfork="$undef" @@ -75,14 +80,6 @@ case "$osvers" in ;; esac -# malloc wrap causes problems on m68k -if [ X"$usemallocwrap" = X"" ]; then - case "${ARCH}" in - m68k) usemallocwrap="$undef" ;; - *) usemallocwrap="define" ;; - esac -fi - # OpenBSD doesn't need libcrypt but many folks keep a stub lib # around for old NetBSD binaries. libswanted=`echo $libswanted | sed 's/ crypt / /'` |