Dear Maintainer, I am new to working with Debian packages, and I am seeking some guidance.
I'm working on debugging a problem with the screen locker, and I'm trying to enable more debugging flags before rebuilding the package. The change below, to my surprise, doesn't seem to affect what compiler flags are used: --- kscreenlocker-5.14.5.orig/CMakeLists.txt +++ kscreenlocker-5.14.5/CMakeLists.txt @@ -133,7 +133,7 @@ endif () # adjusting CMAKE_C_FLAGS to get wayland protocols to compile -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90 -Og -ggdb -g3 -fno-inline") ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX KSCREENLOCKER I had hoped it was that simple, but it isn't. How can I add the flags "-Og -ggdb -g3 -fno-inline" to the cmake configuration so that rebuilding with "debuild -us -uc" will work as expected? Thanks, Jason Franklin