diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 14:13:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-11 20:29:22 +0300 |
commit | d17169c2a9e97a3ea87025bc591ccf5157241c60 (patch) | |
tree | dadd3e04285a871582c286bc80f8bd5dafa7d46e | |
parent | e8c07e73a4a6e88eb94c4f62b562004c70922436 (diff) | |
download | hercules-d17169c2a9e97a3ea87025bc591ccf5157241c60.tar.gz hercules-d17169c2a9e97a3ea87025bc591ccf5157241c60.tar.bz2 hercules-d17169c2a9e97a3ea87025bc591ccf5157241c60.tar.xz hercules-d17169c2a9e97a3ea87025bc591ccf5157241c60.zip |
Fix gcc lto.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5151,10 +5151,10 @@ rm -f core conftest.err conftest.$ac_objext \ if test "$enable_lto" != "no" ; then OLD_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -flto" + CFLAGS="$CFLAGS -flto -ffat-lto-objects" OLD_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -flto" + LDFLAGS="$LDFLAGS -flto -ffat-lto-objects" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flto" >&5 $as_echo_n "checking whether $CC supports -flto... " >&6; } diff --git a/configure.ac b/configure.ac index e88834722..4b5830952 100644 --- a/configure.ac +++ b/configure.ac @@ -725,10 +725,10 @@ AC_LINK_IFELSE( if test "$enable_lto" != "no" ; then OLD_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -flto" + CFLAGS="$CFLAGS -flto -ffat-lto-objects" OLD_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -flto" + LDFLAGS="$LDFLAGS -flto -ffat-lto-objects" AC_MSG_CHECKING([whether $CC supports -flto]) AC_RUN_IFELSE( |