aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-09 22:56:18 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-09 22:56:18 +0800
commit9cffa9a92edf564d85dfbaeee6cbabac3cd42c98 (patch)
tree7f5ed5fa8ab7e4a31a059b552e99b7a252d01289
parent1b7bb371eec07590177d6af75a90a1e29f3f9d3f (diff)
downloaddexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.gz
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.bz2
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.lz
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.xz
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.zst
dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.zip
Do not use -Og for debug mode (won't work on Mac/clang)
-rw-r--r--cmake/EthCompilerSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
index c734423b..97db9168 100644
--- a/cmake/EthCompilerSettings.cmake
+++ b/cmake/EthCompilerSettings.cmake
@@ -71,7 +71,7 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
add_compile_options(-fPIC)
# Configuration-specific compiler settings.
- set(CMAKE_CXX_FLAGS_DEBUG "-Og -g -DETH_DEBUG")
+ set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DETH_DEBUG")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")