From 1b9a0d787e30973c235058b22b2c202c9cdf765a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 26 Aug 2014 11:02:28 +0200 Subject: Undefine FORTIFY_SOURCE before defining it in debug mode. --- server/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/configure.in b/server/configure.in index 3b6d593..d488745 100644 --- a/server/configure.in +++ b/server/configure.in @@ -15,7 +15,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