]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
oss_fuzz also requires no PIE
authorNick Mathewson <nickm@torproject.org>
Mon, 9 Jan 2017 16:26:27 +0000 (11:26 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 30 Jan 2017 13:37:25 +0000 (08:37 -0500)
configure.ac

index aff41ae60a2444a6db5c8765d1ac26b33e595a5c..f6438066b1a3370c265c8edeebe0b995d1a351a6 100644 (file)
@@ -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