From b00ce100bd0c40cb746e02615a3f6bf4e989d66e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 3 Oct 2014 10:23:07 +0200 Subject: Fix _FORTIFY_SOURCE double definition. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bbffeba..66c8678 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,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