You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2001/02/16 09:25:55 UTC
cvs commit: apache-1.3/src Configure
martin 01/02/16 00:25:55
Modified: src Configure
Log:
Brad says: [...] This patch just
cleans up the OpenBSD section, removes an unnecessary/unused flag which is
used only when creating a shared library/module from an archive which is
not being done thus it's not needed.
From ld man page:
-Bforcearchive
Force all members of archives to be loaded, whether or not such
members contribute a definition to any plain object files. Useful
for making a shared library from an archive of PIC objects with-
out having to unpack the archive.
// Brad
Submitted by: brad@openbsd.org
Revision Changes Path
1.419 +4 -4 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.418
retrieving revision 1.419
diff -u -u -r1.418 -r1.419
--- Configure 2001/01/26 21:59:43 1.418
+++ Configure 2001/02/16 08:25:54 1.419
@@ -1093,9 +1093,11 @@
*-openbsd*)
PLATOSVERS=`echo $PLAT | sed 's/^.*openbsd//'`
CFLAGS_SHLIB="-fPIC"
+ LDFLAGS_SHLIB_EXPORT=""
+ SHLIB_SUFFIX_DEPTH=2
case "$PLATOSVERS" in
- 2.[01234567])
- LDFLAGS_SHLIB="-Bshareable -Bforcearchive"
+ [01].*|2.[0-7]|2.[0-7].*)
+ LDFLAGS_SHLIB="-Bshareable"
;;
*)
LD_SHLIB="gcc"
@@ -1103,8 +1105,6 @@
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
- LDFLAGS_SHLIB_EXPORT=""
- SHLIB_SUFFIX_DEPTH=2
;;
*-netbsd*)
CFLAGS_SHLIB="-fPIC -DPIC"