diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-27 12:18:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-27 12:19:37 +0200 |
commit | f1cd6453ae4cbca6f0f00e601cf1210d07412827 (patch) | |
tree | 45add48971abfb2d904ae209350a180d8d6a3c3b /Meta/CMake | |
parent | e65990f7a30cb9a85e34b1761ea2a9f2e8d75b9b (diff) | |
download | serenity-f1cd6453ae4cbca6f0f00e601cf1210d07412827.zip |
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.
Diffstat (limited to 'Meta/CMake')
-rw-r--r-- | Meta/CMake/lagom_compile_options.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/CMake/lagom_compile_options.cmake b/Meta/CMake/lagom_compile_options.cmake index a2da3f136e..79cc587ff1 100644 --- a/Meta/CMake/lagom_compile_options.cmake +++ b/Meta/CMake/lagom_compile_options.cmake @@ -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) |