diff options
author | 2014-05-31 23:16:21 +0000 | |
---|---|---|
committer | 2014-05-31 23:16:21 +0000 | |
commit | dd4d9bc88a10ff9a96d71cb9caf50b3d3473d057 (patch) | |
tree | 9a93382429a626324a4158583a52549a0627d426 | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-dd4d9bc88a10ff9a96d71cb9caf50b3d3473d057.tar.xz wireguard-openbsd-dd4d9bc88a10ff9a96d71cb9caf50b3d3473d057.zip |
Remove now unnecessary local patch to disable usemallocwrap on m68k
Sure miod@
-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 / /'` |