diff options
author | Luke <luke.wilde@live.co.uk> | 2021-01-23 19:41:44 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-24 00:40:49 +0100 |
commit | 1c18d1380f45b0f49e4c31851ed4bcbf2ac19b55 (patch) | |
tree | 8fee9d379315e2982ab4a892b0f06f03b3bfb851 /Meta/Lagom/CMakeLists.txt | |
parent | f37d3f25e687fb8c17f8cc676f18e5658b452fc0 (diff) | |
download | serenity-1c18d1380f45b0f49e4c31851ed4bcbf2ac19b55.zip |
Lagom/Fuzzers: Fix FuzzilliJs build and update patch for new Fuzzilli version
-fsanitize=fuzzer was being added to LINKER_FLAGS from Lagom/CMakeLists,
which we don't want with FuzzilliJs as we want to define the functions
it provides ourselves.
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 7a11fbcb30..c98f73456f 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -31,6 +31,10 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=fuzzer") endif() + set(ORIGINAL_CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") + set(ORIGINAL_CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}") + set(ORIGINAL_CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS}") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LINKER_FLAGS}") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LINKER_FLAGS}") set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${LINKER_FLAGS}") |