summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-11 12:22:36 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-11 12:22:36 -0400
commit039fc8427a512efce87b7bd21c10c4adca4ba30d (patch)
tree2b317b911ad917c854f5584c3521b54c3e0e9d90 /configure.ac
parent61c0bae4f20556cf155562582ea00a6a147252d6 (diff)
parentc662bef45595e40106becfbdbb39811300d15a7f (diff)
downloadtor-039fc8427a512efce87b7bd21c10c4adca4ba30d.tar.gz
tor-039fc8427a512efce87b7bd21c10c4adca4ba30d.zip
Merge branch 'bug18841_1_025' into maint-0.2.7
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 bf6d7f66ea..8107c905a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -718,7 +718,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