diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 14:13:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-09 15:38:52 +0300 |
commit | 57a21dde998f30cc185af49f1e85d29a40132576 (patch) | |
tree | 064c50a21834e4181ad1435fa7360c3430149481 /configure.ac | |
parent | fbd923ef851ba1f1bceb97d9fd85f5ef5c30e1e5 (diff) | |
download | hercules-57a21dde998f30cc185af49f1e85d29a40132576.tar.gz hercules-57a21dde998f30cc185af49f1e85d29a40132576.tar.bz2 hercules-57a21dde998f30cc185af49f1e85d29a40132576.tar.xz hercules-57a21dde998f30cc185af49f1e85d29a40132576.zip |
Fix gcc lto.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
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( |