mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 16:38:53 +00:00
msys: don't use LTO
This causes duplicate symbol errors on msys' mingw install.
This commit is contained in:
parent
5680c9cac7
commit
18c56abe4b
@ -158,6 +158,8 @@ else()
|
||||
set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN")
|
||||
set(Boost_THREADAPI win32)
|
||||
include_directories(SYSTEM src/platform/mingw)
|
||||
# mingw doesn't support LTO (multiple definition errors at link time)
|
||||
set(USE_LTO_DEFAULT false)
|
||||
endif()
|
||||
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
|
||||
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")
|
||||
|
Loading…
Reference in New Issue
Block a user