summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-14 14:31:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-15 01:35:10 +0300
commit4aafe04ff1c47efa1a5bb8710e7f4eef87ab305a (patch)
tree8c61400c76e574b92e8f6050689f4d5159b93090
parent1dd61c6732394219fdbe9abed2af5c785a0309b0 (diff)
downloadhercules-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-xconfigure4
-rw-r--r--configure.in4
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"]
)