From 413d42c5c782f16cda0240e7960e58fcac8ad09b Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 24 Jul 2015 15:47:13 +0200 Subject: Fix warning _FORTIFY_SOURCE is redefined --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f37743a..a910a7b 100644 --- a/configure.ac +++ b/configure.ac @@ -221,7 +221,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then AC_MSG_RESULT(yes) WARNINGCFLAGS="\ -Wchar-subscripts -Wmissing-declarations \ - -Wcast-align -Wsign-compare -Wp,-D_FORTIFY_SOURCE=2 \ + -Wcast-align -Wsign-compare -U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 \ $WARNINGCFLAGS" for option in -Wno-strict-aliasing; do -- cgit v1.2.1