diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-14 14:31:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-15 01:35:10 +0300 |
commit | 4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a (patch) | |
tree | 8c61400c76e574b92e8f6050689f4d5159b93090 | |
parent | 1dd61c6732394219fdbe9abed2af5c785a0309b0 (diff) | |
download | hercules-4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a.tar.gz hercules-4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a.tar.bz2 hercules-4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a.tar.xz hercules-4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a.zip |
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
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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"] ) |