diff options
Diffstat (limited to '')
-rw-r--r-- | msys2/32-bit-toolchain.cmake | 1 | ||||
-rw-r--r-- | msys2/64-bit-toolchain.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/msys2/32-bit-toolchain.cmake b/msys2/32-bit-toolchain.cmake index 111122a91..91665a21b 100644 --- a/msys2/32-bit-toolchain.cmake +++ b/msys2/32-bit-toolchain.cmake @@ -16,3 +16,4 @@ set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) # Find libs in target set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) # Find includes in target set (MINGW_FLAG "-m32") +set (USE_LTO_DEFAULT false) diff --git a/msys2/64-bit-toolchain.cmake b/msys2/64-bit-toolchain.cmake index 8884ae28d..93d69d898 100644 --- a/msys2/64-bit-toolchain.cmake +++ b/msys2/64-bit-toolchain.cmake @@ -16,3 +16,4 @@ set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) # Find libs in target set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) # Find includes in target set (MINGW_FLAG "-m64") +set (USE_LTO_DEFAULT false) |