mirror of https://github.com/google/oss-fuzz.git
[infra] Use -pthread instead of -Wl,-lpthread (fixes #1886).
This commit is contained in:
parent
5e0f589440
commit
66f8069ff1
|
@ -37,7 +37,7 @@ ENV COVERAGE_FLAGS="-fsanitize=fuzzer-no-link"
|
|||
|
||||
# Use '-Wno-unused-command-line-argument' to suppress "warning: -ldl: 'linker' input unused"
|
||||
# messages which are treated as errors by some projects.
|
||||
ENV COVERAGE_FLAGS_coverage "-fprofile-instr-generate -fcoverage-mapping -Wl,--no-as-needed -Wl,-lpthread -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument"
|
||||
ENV COVERAGE_FLAGS_coverage "-fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument"
|
||||
|
||||
# Default sanitizer and fuzzing engine to use.
|
||||
ENV SANITIZER="address"
|
||||
|
|
Loading…
Reference in New Issue