configure: also check if compiler supports _FORTIFY_SOURCE=2.

This commit is contained in:
Juan RP 2010-12-24 02:36:16 +01:00
parent 05c28b4a6c
commit cdecb7f793

2
configure vendored
View File

@ -256,7 +256,7 @@ if [ $? -eq 0 ]; then
fi
fi
if [ $? -eq 0 ]; then
echo "CPPFLAGS += -D_FORTIFY_SOURCE=2" >>$CONFIG_MK
check_compiler_flag "_FORTIFY_SOURCE=2" D
fi
check_compiler_flag "visibility=default" f SHAREDLIB_CFLAGS
check_compiler_flag "std=c99"