From cdecb7f79330074621cd3fc1ce77645645cc29bb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Dec 2010 02:36:16 +0100 Subject: [PATCH] configure: also check if compiler supports _FORTIFY_SOURCE=2. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b0c06615..697bede5 100755 --- a/configure +++ b/configure @@ -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"