diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-10-11 13:05:25 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-10-11 13:05:25 -0500 |
| commit | c458d5fe401f460c5eed2146f74d77e1f840a19c (patch) | |
| tree | 1cda0af96be8ae518711b54ad87a70e11440281d /CMakeLists.txt | |
| parent | 3d9c805e230f7c473863478331ba044fd07dbd16 (diff) | |
| parent | 9cd7aa60f0ca60152c31b9ef5dd341a391435029 (diff) | |
| download | monzero-core-c458d5fe401f460c5eed2146f74d77e1f840a19c.tar.gz monzero-core-c458d5fe401f460c5eed2146f74d77e1f840a19c.tar.xz monzero-core-c458d5fe401f460c5eed2146f74d77e1f840a19c.zip | |
Merge pull request #7989
9cd7aa6 cmake: don't optimize debug build (selsta)
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 7ff207d97..64bf2aae6 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") |
