summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-09 11:26:27 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-30 08:37:25 -0500
commit99d4faf6d35b5923daf48605da0d9da2e7de1824 (patch)
tree75e8bb3c76d7217a8fd19a56714059dc309b9b6f /configure.ac
parent1b244a64e403f9b6bd452d1f2e9c961a1f91e2d7 (diff)
downloadtor-99d4faf6d35b5923daf48605da0d9da2e7de1824.tar.gz
tor-99d4faf6d35b5923daf48605da0d9da2e7de1824.zip
oss_fuzz also requires no PIE
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 aff41ae60a..f6438066b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -765,7 +765,7 @@ m4_ifdef([AS_VAR_IF],[
AS_VAR_POPDEF([can_compile])
TOR_CHECK_CFLAGS(-Wstack-protector)
TOR_CHECK_CFLAGS(--param ssp-buffer-size=1)
- if test "$bwin32" = "false" && test "$enable_libfuzzer" != "yes"; then
+ if test "$bwin32" = "false" && test "$enable_libfuzzer" != "yes" && test "$enable_oss_fuzz" != "yes"; then
TOR_CHECK_CFLAGS(-fPIE)
TOR_CHECK_LDFLAGS(-pie, "$all_ldflags_for_check", "$all_libs_for_check")
fi