From 48afe247ce44355d6a0643f8a3f38ba9c74f3e31 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 2 Feb 2025 02:00:38 +0100 Subject: [PATCH] xml_lpm_fuzzer|cmake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer Same as commit bf9caf7ac4cd66fe1ca7f13cbef13629ffb20926, different target. --- expat/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)