summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-27 12:18:11 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-27 12:19:37 +0200
commitf1cd6453ae4cbca6f0f00e601cf1210d07412827 (patch)
tree45add48971abfb2d904ae209350a180d8d6a3c3b /Meta/CMake
parente65990f7a30cb9a85e34b1761ea2a9f2e8d75b9b (diff)
downloadserenity-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.cmake2
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)