1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 04:07:34 +00:00

Lagom: Allow opting into linking with mold

This commit is contained in:
Andreas Kling 2023-06-08 17:56:40 +02:00 committed by Tim Flynn
parent 79d2c9f3e8
commit a6c6c24428
2 changed files with 5 additions and 0 deletions

View file

@ -124,6 +124,10 @@ if (ENABLE_UNDEFINED_SANITIZER)
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined")
endif()
if (ENABLE_LAGOM_MOLD)
add_link_options(-fuse-ld=mold)
endif()
if (ENABLE_FUZZERS)
add_compile_options(-fno-omit-frame-pointer)
endif()