diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-14 21:43:37 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-14 21:43:37 +0200 |
commit | d0c4123034248389597caa0c334e7e69219d2a74 (patch) | |
tree | 42decf7c001bc7e4810cb8c93b18335e59012232 | |
parent | Merge pull request #4769 (diff) | |
parent | CMakeLists.txt: add -ftemplate-depth=900 (diff) | |
download | monero-d0c4123034248389597caa0c334e7e69219d2a74.tar.xz |
Merge pull request #4842
37d5b8d9 CMakeLists.txt: add -ftemplate-depth=900 (moneromooo-monero)
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 311af76dc..8fd5543f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -816,6 +816,9 @@ 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") + if(NOT DEFINED USE_LTO_DEFAULT) set(USE_LTO_DEFAULT false) endif() |