mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Lagom: Use -fsanitize=fuzzer, not -fsanitize=fuzzer-no-link
Fuzzers don't link for me without this change.
This commit is contained in:
parent
d775dea13c
commit
39ce7251f7
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
|||
option(ENABLE_FUZZER_SANITIZER "Enable fuzzer sanitizer testing in clang" FALSE)
|
||||
if (ENABLE_FUZZER_SANITIZER)
|
||||
add_definitions(-fsanitize=fuzzer -fno-omit-frame-pointer)
|
||||
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=fuzzer-no-link")
|
||||
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=fuzzer")
|
||||
endif()
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LINKER_FLAGS}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue