4364. [port] freebsd: add -Wl,-E to loader flags [RT #41690]

This commit is contained in:
Mark Andrews 2016-05-12 10:00:00 +10:00
parent 05cf9e3285
commit 0be436fc39
3 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
4364. [port] freebsd: add -Wl,-E to loader flags [RT #41690]
4363. [port] Turn off triggering UAC when running BINDInstall
temporarily.

2
configure vendored
View file

@ -21701,8 +21701,8 @@ if test "$dlopen" = "yes"; then
fi
;;
*-freebsd*|*-openbsd*)
LDFLAGS="${LDFLAGS} -Wl,-E"
SO_CFLAGS="-fpic"
elf=`${CC} -dM -E - < /dev/null | grep __ELF__`
if test "$use_libtool" = "yes"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"

View file

@ -4640,8 +4640,8 @@ if test "$dlopen" = "yes"; then
fi
;;
*-freebsd*|*-openbsd*)
LDFLAGS="${LDFLAGS} -Wl,-E"
SO_CFLAGS="-fpic"
elf=`${CC} -dM -E - < /dev/null | grep __ELF__`
if test "$use_libtool" = "yes"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"