CMake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer

.. where it is a better fit, semantically.
This commit is contained in:
Sebastian Pipping 2025-01-05 21:41:17 +01:00
parent 09f6faa996
commit bf9caf7ac4

View file

@ -748,7 +748,7 @@ if(EXPAT_BUILD_FUZZERS)
set_target_properties(${target_name} PROPERTIES LINK_FLAGS $ENV{LIB_FUZZING_ENGINE})
set_target_properties(${target_name} PROPERTIES LINKER_LANGUAGE "CXX")
else()
target_compile_options(${target_name} PRIVATE -fsanitize=fuzzer-no-link)
target_compile_options(${target_name} PRIVATE -fsanitize=fuzzer)
set_target_properties(${target_name} PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
endif()
set_property(