summaryrefslogtreecommitdiffhomepage
path: root/userconfig-runner@Linux-GNU.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-16 12:26:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-16 13:44:15 +0200
commit0c98c93b3533943acb361917a049e8c2743a6546 (patch)
tree2989444dec5a6732ea09b742c7f4840fc0245d75 /userconfig-runner@Linux-GNU.cmake
parent7cb658cc15a18634dd8733954134ad8289da1731 (diff)
ci: reenable dehug symbols
Diffstat (limited to 'userconfig-runner@Linux-GNU.cmake')
-rw-r--r--userconfig-runner@Linux-GNU.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/userconfig-runner@Linux-GNU.cmake b/userconfig-runner@Linux-GNU.cmake
index 963027ba..b5b6aba9 100644
--- a/userconfig-runner@Linux-GNU.cmake
+++ b/userconfig-runner@Linux-GNU.cmake
@@ -3,8 +3,8 @@ sets(BOOL FLOORMAT_SUBMODULE-SDL2 OFF)
set(CMAKE_INSTALL_MESSAGE NEVER)
sets(STRING
CMAKE_BUILD_TYPE RELEASE
- CMAKE_C_FLAGS_RELEASE "-O0 -DNDEBUG -s"
- CMAKE_CXX_FLAGS_RELEASE "-O0 -DNDEBUG -s")
+ CMAKE_C_FLAGS_RELEASE "-O0 -DNDEBUG -g -ggdb"
+ CMAKE_CXX_FLAGS_RELEASE "-O0 -DNDEBUG -g -ggdb")
add_compile_options(-fsanitize=address,undefined)
add_link_options(-fsanitize=address,undefined)
@@ -12,9 +12,6 @@ sets(BOOL CORRADE_CPU_USE_IFUNC OFF)
# for floormat sources only
function(fm-userconfig-src)
- add_compile_options(-Wall -Wextra -Wpedantic -Wno-old-style-cast -Wno-padded)
- add_compile_options(-g -ggdb)
-
add_compile_options(
-Wall
-Wextra
@@ -28,6 +25,8 @@ function(fm-userconfig-src)
-Wno-ignored-attributes
#-Wno-array-bounds
-Wno-subobject-linkage
+ -Wno-old-style-cast
+ -Wno-padded
)
add_compile_options(
#-Werror