disable LTO on Win32 for now

Due to reports of segfaults etc. disabling LTO on Win32 for now.
This commit is contained in:
Rafael Kitover 2016-12-31 04:48:51 -08:00
parent 281e73eee0
commit 82d694df3a
1 changed files with 1 additions and 1 deletions

View File

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