@@ -806,7 +806,7 @@ AC_ARG_ENABLE([backtrace],
806806 [ enable_backtrace=check] )
807807AS_IF ( [ test "x$enable_backtrace" != xno] ,
808808 [ flag=:
809- AS_IF ( [ $flag] , [ AC_CHECK_LIB ( [ c] , [ backtrace] , [ LIBS="-lc $LIBS" ] , [ flag=false] ) ] )
809+ AS_IF ( [ $flag] , [ AC_CHECK_LIB ( [ c] , [ backtrace] , [ ] , [ flag=false] ) ] )
810810 AS_IF ( [ $flag] ,
811811 [ AC_DEFINE ( ENABLE_BACKTRACE , [ ] , [ Define to print a stack trace on Terminate.] )
812812 enable_backtrace=yes] ,
@@ -901,12 +901,12 @@ if test "$my_test_LINKFLAGS" != set; then
901901 # On OS X Mavericks, -s option has a funny effect: though the linker
902902 # warns the option is obsolete and being ignored, it causes an internal
903903 # error "atom not found in symbolIndex...".
904- LINKFLAGS=-rdynamic
904+ LINKFLAGS=
905905 elif test "x$enable_profile" != xno && test "x$enable_profile" != xunavailable; then
906906 # Profilers needs symbol tables.
907- LINKFLAGS=-rdynamic
907+ LINKFLAGS=
908908 else
909- LINKFLAGS=-rdynamic
909+ LINKFLAGS=
910910 fi
911911fi
912912my_test_DEBUGCOMPILEFLAGS=${DEBUGCOMPILEFLAGS+set}
@@ -977,7 +977,7 @@ if test "$my_test_DEBUGCOMPILEFLAGS" != set && test "x$enable_debug" = xyes; the
977977fi
978978my_test_DEBUGLINKFLAGS=${DEBUGLINKFLAGS+set}
979979if test "$my_test_DEBUGLINKFLAGS" != set && test "x$enable_debug" = xyes; then
980- DEBUGLINKFLAGS=-rdynamic
980+ DEBUGLINKFLAGS=
981981 if test "x$vendor" = xgnu; then
982982 # Coverage option.
983983 if test "x$enable_coverage" = xyes; then
0 commit comments