mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 11:48:51 +00:00
cmake: don't optimize debug build
This commit is contained in:
parent
6b824c9ed0
commit
9cd7aa60f0
@ -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 New Issue
Block a user