We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80715f2 + 8eefd0c commit 0b10a13Copy full SHA for 0b10a13
.github/workflows/cmake/linux-debug-toolchain.cmake
@@ -1,6 +1,6 @@
1
-# Don't generate debug symbols.
2
-# This is useless for the CI build (we don't retrieve any binaries) and can stop the build
+# Don't generate debug symbols (remove -g) and minimize binary size with -Os.
+# Debug symbol are useless for CI build (we don't retrieve any binaries) and can stop the build
3
# by taking all the disk space.
4
set(CMAKE_CXX_FLAGS_DEBUG
5
- ""
+ "-Os"
6
CACHE STRING "")
0 commit comments