summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-06-14 13:05:03 -0400
committerNick Mathewson <nickm@torproject.org>2021-06-14 13:05:03 -0400
commit982829650c59d6807e8c720028c9d766d69cb57c (patch)
tree53f0f57582776f1b08aa97c367e2999e0a950624 /src
parentec2094a76e74d2fcca96593058b6a422419b628e (diff)
parentd2256fe9cea6407258a53f68c64723aef19bd41c (diff)
downloadtor-982829650c59d6807e8c720028c9d766d69cb57c.tar.gz
tor-982829650c59d6807e8c720028c9d766d69cb57c.zip
Merge remote-tracking branch 'tor-gitlab/mr/397'
Diffstat (limited to 'src')
-rw-r--r--src/test/fuzz/include.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/fuzz/include.am b/src/test/fuzz/include.am
index 9bdced9e6f..de3ea5e74a 100644
--- a/src/test/fuzz/include.am
+++ b/src/test/fuzz/include.am
@@ -23,11 +23,10 @@ oss-fuzz-prereqs: \
noinst_HEADERS += \
src/test/fuzz/fuzzing.h
-LIBFUZZER = -lFuzzer
LIBFUZZER_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBFUZZER_CFLAGS = $(FUZZING_CFLAGS)
-LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
-LIBFUZZER_LIBS = $(FUZZING_LIBS) $(LIBFUZZER) -lstdc++
+LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG) -fsanitize=fuzzer
+LIBFUZZER_LIBS = $(FUZZING_LIBS) -lstdc++
LIBOSS_FUZZ_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBOSS_FUZZ_CFLAGS = $(FUZZING_CFLAGS)