configure: do not add --as-needed automatically.

This commit is contained in:
Juan RP 2011-06-04 17:32:17 +02:00
parent ebae4fbfca
commit 6fe23a1b80

1
configure vendored
View File

@ -269,7 +269,6 @@ if [ $? -eq 0 ]; then
echo "CPPFLAGS += -DHAVE_VISIBILITY=1" >>$CONFIG_MK
fi
check_compiler_flag "std=c99" "" CFLAGS
check_compiler_flag "l,--as-needed" W LDFLAGS
#
# Check for -Wl,--export-dynamic and if it fails, try -rdynamic.