mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-21 09:11:54 +00:00
Enable more threads for flto
This commit is contained in:
parent
de41d24a3d
commit
3ffb0c4f25
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 New Issue
Block a user