Override the results of the archive extraction flag test for NetBSD and older FreeBSDs.

git-svn-id: svn://10.0.0.236/trunk@34328 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com
1999-06-09 00:28:05 +00:00
parent 35e195d338
commit 8db344082f

View File

@@ -283,6 +283,11 @@ case "$target" in
if test ! "$GNU_CC"; then
DSO_LDOPTS="-Bshareable $DSO_LDOPTS"
fi
# Hack for FreeBSD 2.2
if test -z "$MKSHLIB_FORCE_ALL"; then
MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
MKSHLIB_UNFORCE_ALL=''
fi
;;
*-hpux*)
@@ -329,6 +334,9 @@ alpha*-*-linux*)
DSO_CFLAGS='-fPIC'
CFLAGS="$CFLAGS -Dunix"
CXXFLAGS="$CXXFLAGS -Dunix"
# At least for 1.3 and up, ld supports this, despite the test failing above.
MKSHLIB_FORCE_ALL='-whole-archive'
MKSHLIB_UNFORCE_ALL='-no-whole-archive'
case `uname -m` in
*86)
MKSHLIB='$(LD) $(DSO_LDOPTS)'