diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2019-08-01 14:45:23 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2019-08-01 14:45:23 +0200 |
commit | 3ffb0c4f25eff926989867b4a7f604f54d68281b (patch) | |
tree | cf19e05cbb0f9d445194d827a055716129567914 | |
parent | de41d24a3d67c98d7330551bcf7549c007b89ae8 (diff) |
Enable more threads for flto
-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]) |