diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index cd02fa48..7ae338e6 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -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)