diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 14:13:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-06 00:27:20 +0300 |
commit | ac38db84840ad39819830deb18e9ef8620c7f5c7 (patch) | |
tree | d876bae388853a47f4f058f3ba62a24d45c3c5bb | |
parent | 70f07855905ab9e08ac3074b0964dbec175af0bd (diff) | |
download | hercules-ac38db84840ad39819830deb18e9ef8620c7f5c7.tar.gz hercules-ac38db84840ad39819830deb18e9ef8620c7f5c7.tar.bz2 hercules-ac38db84840ad39819830deb18e9ef8620c7f5c7.tar.xz hercules-ac38db84840ad39819830deb18e9ef8620c7f5c7.zip |
Fix gcc lto.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5101,10 +5101,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 7b7590813..b4b6dd8fe 100644 --- a/configure.ac +++ b/configure.ac @@ -695,10 +695,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( |