mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
a5476164ef
Submitted by: foxfair Promote LDFLAGS in the installed setup.
21 lines
827 B
Plaintext
21 lines
827 B
Plaintext
--- configure.orig Sat Apr 10 18:02:18 1999
|
|
+++ configure Fri Sep 10 09:47:29 1999
|
|
@@ -2246,7 +2246,7 @@
|
|
fi ;;
|
|
Linux*) LDSHARED="gcc -shared";;
|
|
dgux*) LDSHARED="ld -G";;
|
|
- FreeBSD*/3*) LDSHARED="gcc -shared";;
|
|
+ FreeBSD*/3*|FreeBSD*/4*) LDSHARED='gcc -shared ${LDFLAGS}';;
|
|
FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
|
|
NetBSD*)
|
|
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
|
|
@@ -2292,7 +2292,7 @@
|
|
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
|
|
hp*|HP*)
|
|
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
|
|
- FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
|
+ FreeBSD/3*|FreeBSD/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
|
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
|
# -u libsys_s pulls in all symbols in libsys
|
|
next/2*|next/3*) LINKFORSHARED="-u libsys_s";;
|