aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-11-14 21:43:37 +0200
committerRiccardo Spagni <ric@spagni.net>2018-11-14 21:43:37 +0200
commitd0c4123034248389597caa0c334e7e69219d2a74 (patch)
tree42decf7c001bc7e4810cb8c93b18335e59012232 /CMakeLists.txt
parentMerge pull request #4769 (diff)
parentCMakeLists.txt: add -ftemplate-depth=900 (diff)
downloadmonero-d0c4123034248389597caa0c334e7e69219d2a74.tar.xz
Merge pull request #4842
37d5b8d9 CMakeLists.txt: add -ftemplate-depth=900 (moneromooo-monero)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
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()