From 5387a1a1c051368365dea2efd115475d108b2192 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 2 Feb 2000 20:33:03 +0000 Subject: Remove -Bforcearchive from lddlflags. -Bforcearchive only makes sense if you are building a shared lib from a .a full of pic objects. This is not how perl builds shared libs and it hoses tk. Also sink with the hints file in perl5.005_63 (cosmetic) --- gnu/usr.bin/perl/hints/openbsd.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh index 692871c868a..08721a0926e 100644 --- a/gnu/usr.bin/perl/hints/openbsd.sh +++ b/gnu/usr.bin/perl/hints/openbsd.sh @@ -12,7 +12,7 @@ test "$usemymalloc" || usemymalloc='n' # Currently, vfork(2) is not a real win over fork(2) but this will -# change in a future release. +# change starting with OpenBSD 2.7. usevfork='true' # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions @@ -37,7 +37,17 @@ alpha|mips|powerpc|vax) # we use -fPIC here because -fpic is *NOT* enough for some of the # extensions like Tk on some OpenBSD platforms (ie: sparc) cccdlflags="-DPIC -fPIC $cccdlflags" - lddlflags="-Bforcearchive -Bshareable $lddlflags" + lddlflags="-Bshareable $lddlflags" + ;; +esac + +# +# Tweaks for various versions of OpenBSD +# +case "$osvers" in +2.5) + # OpenBSD 2.5 has broken odbm support + i_dbm=$undef ;; esac -- cgit v1.2.3