diff options
| author | selsta <selsta@sent.at> | 2021-10-04 02:20:08 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2021-10-04 02:30:34 +0200 |
| commit | 9cd7aa60f0ca60152c31b9ef5dd341a391435029 (patch) | |
| tree | c9d36c206816dc51f3dc00f88d9db12915118ade /CMakeLists.txt | |
| parent | 6b824c9ed0e5555d614da9cadbb5bb2dbcd6a724 (diff) | |
| download | monzero-core-9cd7aa60f0ca60152c31b9ef5dd341a391435029.tar.gz monzero-core-9cd7aa60f0ca60152c31b9ef5dd341a391435029.tar.xz monzero-core-9cd7aa60f0ca60152c31b9ef5dd341a391435029.zip | |
cmake: don't optimize debug build
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bb019e178..95927c98d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") |
