diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 22:56:18 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 22:56:18 +0800 |
commit | 9cffa9a92edf564d85dfbaeee6cbabac3cd42c98 (patch) | |
tree | 7f5ed5fa8ab7e4a31a059b552e99b7a252d01289 /cmake/EthCompilerSettings.cmake | |
parent | 1b7bb371eec07590177d6af75a90a1e29f3f9d3f (diff) | |
download | dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.gz dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.tar.zst dexon-solidity-9cffa9a92edf564d85dfbaeee6cbabac3cd42c98.zip |
Do not use -Og for debug mode (won't work on Mac/clang)
Diffstat (limited to 'cmake/EthCompilerSettings.cmake')
-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") |