diff options
Diffstat (limited to 'hints/openbsd.sh')
-rw-r--r-- | hints/openbsd.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh index e4b1360d9a..f13091deee 100644 --- a/hints/openbsd.sh +++ b/hints/openbsd.sh @@ -8,8 +8,12 @@ # ./Configure -des -Dopenbsd_distribution=defined # -# OpenBSD has a better malloc than perl... -test "$usemymalloc" || usemymalloc='n' +# In OpenBSD > 3.7, use perl's malloc [perl #75742] +case "$osvers" in +3.[89]*|[4-9]*) + test "$usemymalloc" || usemymalloc=y + ;; +esac # malloc wrap works case "$usemallocwrap" in |