From 84b284c2bc771164824c14b0b3883c79d9172542 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 19 Aug 2020 16:51:57 +0300 Subject: [PATCH] Disable LTO by default. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 23d416b5..7c9074a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # Several plugin options option(BUILTIN_RUNTIMES "Include the MinGW runtime into the binary itself." ON) -option(LTO_ENABLED "Enable link time optimizations (takes a long time to compile!)." ON) +option(LTO_ENABLED "Enable link time optimizations (takes a long time to compile!)." OFF) option(FORCE_32BIT_BIN "Create a 32-bit executable binary if the compiler defaults to 64-bit." OFF) option(ENABLE_MYSQL "Enable the MySQL library." OFF) option(ENABLE_API21 "Build for 2.1 API." OFF)