commit 99d4faf6d35b5923daf48605da0d9da2e7de1824 Author: Nick Mathewson nickm@torproject.org Date: Mon Jan 9 11:26:27 2017 -0500
oss_fuzz also requires no PIE --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac index aff41ae..f643806 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
tor-commits@lists.torproject.org