mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
Merge pull request #4842
37d5b8d9
CMakeLists.txt: add -ftemplate-depth=900 (moneromooo-monero)
This commit is contained in:
commit
d0c4123034
@ -816,6 +816,9 @@ else()
|
|||||||
set(DEBUG_FLAGS "${DEBUG_FLAGS} -O0 ")
|
set(DEBUG_FLAGS "${DEBUG_FLAGS} -O0 ")
|
||||||
endif()
|
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)
|
if(NOT DEFINED USE_LTO_DEFAULT)
|
||||||
set(USE_LTO_DEFAULT false)
|
set(USE_LTO_DEFAULT false)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user