mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
cmake: don't optimize debug build
This commit is contained in:
parent
6b824c9ed0
commit
9cd7aa60f0
1 changed files with 0 additions and 5 deletions
|
@ -996,11 +996,6 @@ else()
|
|||
endif()
|
||||
|
||||
set(DEBUG_FLAGS "-g3")
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.8))
|
||||
set(DEBUG_FLAGS "${DEBUG_FLAGS} -Og ")
|
||||
else()
|
||||
set(DEBUG_FLAGS "${DEBUG_FLAGS} -O0 ")
|
||||
endif()
|
||||
|
||||
# At least some CLANGs default to not enough for monero
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth=900")
|
||||
|
|
Loading…
Reference in a new issue