summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-11 12:23:40 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-11 12:23:40 -0400
commite31980f693b569541aded815a504eb62a76649d9 (patch)
treecd2f38021d261712c58eb9941e87aadde6c70f7f /configure.ac
parent84af12e9dbbfb166ee37fd75691e9e7f96dbad5d (diff)
parent50249c7cd97c982fe829a9e7a22e660658b4e217 (diff)
downloadtor-e31980f693b569541aded815a504eb62a76649d9.tar.gz
tor-e31980f693b569541aded815a504eb62a76649d9.zip
Merge branch 'maint-0.2.8'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4bdd2d3967..bd50577418 100644
--- a/configure.ac
+++ b/configure.ac
@@ -761,7 +761,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
#endif])], have_clang=yes, have_clang=no)
if test "x$enable_gcc_hardening" != "xno"; then
- CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+ CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
if test "x$have_clang" = "xyes"; then
TOR_CHECK_CFLAGS(-Qunused-arguments)
fi