summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:02:28 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:02:28 +0200
commit1b9a0d787e30973c235058b22b2c202c9cdf765a (patch)
tree41760a1fec1ccae153bb1901c893c1d5cba38130
parent9100ca32a705885882b8adeb0e595b6fd3f9683b (diff)
Undefine FORTIFY_SOURCE before defining it in debug mode.
-rw-r--r--server/configure.in2
1 files changed, 1 insertions, 1 deletions
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 ======================