diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 14:13:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-24 16:12:05 +0300 |
commit | bbd81a5af8af7b609a4d979681b00e76968f0a1c (patch) | |
tree | ff46be5afdd50f9147b5c678407878998e1ac845 | |
parent | 78e8c879cc49d0ebc7beab0cdbced64df01b73aa (diff) | |
download | hercules-bbd81a5af8af7b609a4d979681b00e76968f0a1c.tar.gz hercules-bbd81a5af8af7b609a4d979681b00e76968f0a1c.tar.bz2 hercules-bbd81a5af8af7b609a4d979681b00e76968f0a1c.tar.xz hercules-bbd81a5af8af7b609a4d979681b00e76968f0a1c.zip |
Fix gcc lto.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5153,10 +5153,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 34cbee61a..0b0e59d9a 100644 --- a/configure.ac +++ b/configure.ac @@ -726,10 +726,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( |