mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Meta/CMake: Build Lagom with -g1 instead of -g
This *drastically* improves build performance by reducing the size of object files by around 10x or more.
This commit is contained in:
parent
e65990f7a3
commit
f1cd6453ae
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ add_compile_options(-Wno-unknown-warning-option)
|
||||||
add_compile_options(-fsigned-char)
|
add_compile_options(-fsigned-char)
|
||||||
add_compile_options(-fno-exceptions)
|
add_compile_options(-fno-exceptions)
|
||||||
add_compile_options(-fdiagnostics-color=always)
|
add_compile_options(-fdiagnostics-color=always)
|
||||||
add_compile_options(-fPIC -g)
|
add_compile_options(-fPIC -g1)
|
||||||
add_compile_options(-O2)
|
add_compile_options(-O2)
|
||||||
if (NOT ENABLE_FUZZERS AND NOT APPLE)
|
if (NOT ENABLE_FUZZERS AND NOT APPLE)
|
||||||
add_compile_options(-fno-semantic-interposition)
|
add_compile_options(-fno-semantic-interposition)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue