spec: Reduce debuginfo level
"Level 1 produces minimal information, enough for making backtraces in parts of the program that you don't plan to debug. This includes descriptions of functions and external variables, and line number tables, but no information about local variables." -- gcc(1) Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
50d28023b7
commit
8ef7a5cd9e
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ sed -i 's/common_has_curl()/0/' tests/test-arg-parser.cpp
|
|||
sed /test-thread-safety/d -i tests/CMakeLists.txt
|
||||
|
||||
%build
|
||||
%define optflags_debug -g1
|
||||
# Unless -DCMAKE_SKIP_BUILD_RPATH=yes CMake fails to strip build time RPATH
|
||||
# from (installed) binaries.
|
||||
export NVCC_PREPEND_FLAGS=-ccbin=g++-12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue