summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-10-03 10:23:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-10-03 10:23:07 +0200
commitb00ce100bd0c40cb746e02615a3f6bf4e989d66e (patch)
tree843bf486d902a15e8ec1d1e111964a4343627aa0
parent3d6417c31c1485fd8c84f62aba6b698588cf802a (diff)
Fix _FORTIFY_SOURCE double definition.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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 ======================