Merge pull request #4842

37d5b8d9 CMakeLists.txt: add -ftemplate-depth=900 (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-11-14 21:43:37 +02:00
commit d0c4123034
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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()