Enable more threads for flto
This commit is contained in:
parent
de41d24a3d
commit
3ffb0c4f25
2 changed files with 2 additions and 2 deletions
2
aclocal.m4
vendored
2
aclocal.m4
vendored
|
@ -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],
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue