mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-01 02:06:11 +00:00
Meta: Support enabling compile-time format string checking on Lagom
This commit is contained in:
committed by
Andreas Kling
parent
eed0c32357
commit
00d8e221f3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user