[infra] Use -pthread instead of -Wl,-lpthread (fixes #1886).

This commit is contained in:
Max Moroz 2018-10-22 07:24:42 -07:00
parent 5e0f589440
commit 66f8069ff1
1 changed files with 1 additions and 1 deletions

View File

@ -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"