mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 05:37:46 +00:00
CMakeLists.txt: add -ftemplate-depth=900
This commit is contained in:
parent
8534f71eed
commit
37d5b8d9c2
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue