Skip to content

Commit

Permalink
Add standard cmake debug flags
Browse files Browse the repository at this point in the history
tested, the cmake config shows this

-- Build Type: Debug (flags = '-g -O0')
-- Compiler Flags: -g -O0 -D__ROOFIT_NOBANNER -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread
  • Loading branch information
mrodozov committed Nov 20, 2020
1 parent ba9800d commit fbaa04e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions root.spec
Expand Up @@ -42,6 +42,8 @@ cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DLLVM_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_DEBUG="-g -O0" \
-DCMAKE_CXX_FLAGS_DEBUG="-g -O0" \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
Expand Down

0 comments on commit fbaa04e

Please sign in to comment.