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:
Andreas Kling 2022-08-27 12:18:11 +02:00
parent e65990f7a3
commit f1cd6453ae

View file

@ -7,7 +7,7 @@ add_compile_options(-Wno-unknown-warning-option)
add_compile_options(-fsigned-char)
add_compile_options(-fno-exceptions)
add_compile_options(-fdiagnostics-color=always)
add_compile_options(-fPIC -g)
add_compile_options(-fPIC -g1)
add_compile_options(-O2)
if (NOT ENABLE_FUZZERS AND NOT APPLE)
add_compile_options(-fno-semantic-interposition)