Commit 0be436fc authored by Mark Andrews's avatar Mark Andrews

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

parent 05cf9e32
4364. [port] freebsd: add -Wl,-E to loader flags [RT #41690]
4363. [port] Turn off triggering UAC when running BINDInstall
temporarily.
......
......@@ -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}"
......
......@@ -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}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment