mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
xml_lpm_fuzzer|cmake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer
Same as commit bf9caf7ac4
, different target.
This commit is contained in:
parent
ea98a87971
commit
48afe247ce
1 changed files with 1 additions and 1 deletions
|
@ -804,7 +804,7 @@ if(EXPAT_BUILD_FUZZERS)
|
|||
if(EXPAT_OSSFUZZ_BUILD)
|
||||
set_target_properties(xml_lpm_fuzzer PROPERTIES LINK_FLAGS $ENV{LIB_FUZZING_ENGINE})
|
||||
else()
|
||||
target_compile_options(xml_lpm_fuzzer PRIVATE -fsanitize=fuzzer-no-link)
|
||||
target_compile_options(xml_lpm_fuzzer PRIVATE -fsanitize=fuzzer)
|
||||
set_target_properties(xml_lpm_fuzzer PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
|
||||
endif()
|
||||
set_property(TARGET xml_lpm_fuzzer PROPERTY RUNTIME_OUTPUT_DIRECTORY fuzz)
|
||||
|
|
Loading…
Add table
Reference in a new issue