diff options
-rw-r--r-- | aclocal.m4 | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -155,7 +155,7 @@ AC_DEFUN([BIRD_CHECK_LTO], bird_tmp_cflags="$CFLAGS" bird_tmp_ldflags="$LDFLAGS" CFLAGS="-flto" - LDFLAGS="-flto" + LDFLAGS="-flto=4" AC_CACHE_CHECK( [whether link time optimizer is available], diff --git a/configure.ac b/configure.ac index e0b85baf..92941534 100644 --- a/configure.ac +++ b/configure.ac @@ -156,7 +156,7 @@ fi if test "$bird_cv_c_lto" = yes; then CFLAGS="$CFLAGS -flto" - LDFLAGS="$LDFLAGS -flto" + LDFLAGS="$LDFLAGS -flto=4" fi AC_MSG_CHECKING([CFLAGS]) |