From 4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Aug 2015 14:31:35 +0300 Subject: Disable LTO by default. Because look like support for it broken in gcc 4.9 and higher. For enable LTO need run: ./configure --enable-lto --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 2500494c9..51e3f1f07 100755 --- a/configure +++ b/configure @@ -1354,7 +1354,7 @@ Optional Features: --enable-profiler=ARG Profilers: no, gprof (disabled by default) --disable-64bit Enforce 32bit output on x86_64 systems. --enable-lto Enables or Disables Linktime Code Optimization (LTO - is enabled by default) + is disabled by default) --enable-static Enables or Disables Statick Linking (STATIC is disabled by default) --enable-sanitize[=ARG] Enables sanitizer. (disabled by default) (available @@ -3658,7 +3658,7 @@ if test "${enable_lto+set}" = set; then : esac else - enable_lto="yes" + enable_lto="no" fi diff --git a/configure.in b/configure.in index 8567c6bcb..9beefb246 100644 --- a/configure.in +++ b/configure.in @@ -256,7 +256,7 @@ AC_ARG_ENABLE( AC_HELP_STRING( [--enable-lto], [ - Enables or Disables Linktime Code Optimization (LTO is enabled by default) + Enables or Disables Linktime Code Optimization (LTO is disabled by default) ] ), [ @@ -267,7 +267,7 @@ AC_ARG_ENABLE( *) AC_MSG_ERROR([[invalid argument --enable-lto=$disableval... stopping]]);; esac ], - [enable_lto="yes"] + [enable_lto="no"] ) -- cgit v1.2.3-70-g09d2