diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 23:56:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 23:56:49 +0800 |
commit | a0bc064d5299219fe454ed639a392fc2059b8b78 (patch) | |
tree | 2183e2767cf1650d28de11baa6bac93b1cf97a71 | |
parent | 49b750a59287181dfff188de1e08f3a8e593c479 (diff) | |
parent | 9cffa9a92edf564d85dfbaeee6cbabac3cd42c98 (diff) | |
download | dexon-solidity-a0bc064d5299219fe454ed639a392fc2059b8b78.tar.gz dexon-solidity-a0bc064d5299219fe454ed639a392fc2059b8b78.tar.zst dexon-solidity-a0bc064d5299219fe454ed639a392fc2059b8b78.zip |
Merge pull request #1675 from ethereum/debug-mac
Do not use -Og for debug mode (won't work on Mac/clang)
-rw-r--r-- | cmake/EthCompilerSettings.cmake | 2 |
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") |