Add -Bsymbolic-functions to linker flags

This commit is contained in:
Behdad Esfahbod 2011-05-06 19:30:59 -04:00
parent ab428aeab7
commit 71cef14ac3

View File

@ -41,6 +41,9 @@ AC_CHECK_HEADERS(unistd.h sys/mman.h)
AC_CANONICAL_HOST
if test "x$GCC" = "xyes"; then
# Make symbols link locally
LDFLAGS="$LDFLAGS -Bsymbolic-functions"
# Make sure we don't link to libstdc++
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"