disable LTO on Win32 for now
Due to reports of segfaults etc. disabling LTO on Win32 for now.
This commit is contained in:
parent
281e73eee0
commit
82d694df3a
|
@ -58,7 +58,7 @@ option(ENABLE_FFMPEG "Enable ffmpeg A/V recording" ${FFMPEG_DEFAULT})
|
|||
|
||||
SET(LTO_DEFAULT ON)
|
||||
|
||||
IF((AMD64 AND WIN32 AND CMAKE_COMPILER_IS_GNUCXX) OR CMAKE_TOOLCHAIN_FILE MATCHES mxe)
|
||||
IF(WIN32)
|
||||
SET(LTO_DEFAULT OFF)
|
||||
ENDIF()
|
||||
|
||||
|
|
Loading…
Reference in New Issue