mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
Meta: Support enabling compile-time format string checking on Lagom
This commit is contained in:
parent
eed0c32357
commit
00d8e221f3
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ if (ENABLE_UNDEFINED_SANITIZER)
|
|||
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined")
|
||||
endif()
|
||||
|
||||
if (ENABLE_COMPILETIME_FORMAT_CHECK)
|
||||
add_compile_definitions(ENABLE_COMPILETIME_FORMAT_CHECK)
|
||||
endif()
|
||||
|
||||
if (ENABLE_LAGOM_MOLD)
|
||||
add_link_options(-fuse-ld=mold)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue