From 7eb6dc2a9c2ecb723b07598b14cd24359004ef9e Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 8 May 2012 17:05:11 +1000 Subject: Define _FORTIFY_SOURCE in CPPFLAGS The -D_FORTIFY_SOURCE=2 define should be in CPPFLAGS and not CFLAGS Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- m4/acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4/acinclude.m4') diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index 8ea45973..4455d261 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -54,7 +54,7 @@ AC_DEFUN([GCC_FORTIFY_SOURCE_CC],[ } ], [ AC_MSG_RESULT(yes) - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" ], [ AC_MSG_RESULT(no) ]) -- cgit v1.2.3-2-g168b