mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 06:28:52 +00:00
Merge pull request #7989
9cd7aa6
cmake: don't optimize debug build (selsta)
This commit is contained in:
commit
c458d5fe40
@ -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