From 143b3bb8a919ccdb2b76832fe64fde8ef4744cf2 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 6 Dec 2013 12:01:46 +0100 Subject: Undefine _FORTIFY_SOURCE before defining (fix for gcc 4.7). --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 01c69b4..e115d4f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AC_ARG_WITH(debug, if test x$with_debug == xyes; then AC_MSG_WARN([*** Building with debug support!]) AC_DEFINE_UNQUOTED(WITH_DEBUG, , [The project is configured to use debug output]) - CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector -Wall -Werror -g -O0" + CXXFLAGS="$CXXFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -Wall -Werror -g -O0" fi dnl ====================== -- cgit v1.2.3