mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +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_cflags="$CFLAGS"
|
||||||
bird_tmp_ldflags="$LDFLAGS"
|
bird_tmp_ldflags="$LDFLAGS"
|
||||||
CFLAGS="-flto"
|
CFLAGS="-flto"
|
||||||
LDFLAGS="-flto"
|
LDFLAGS="-flto=4"
|
||||||
|
|
||||||
AC_CACHE_CHECK(
|
AC_CACHE_CHECK(
|
||||||
[whether link time optimizer is available],
|
[whether link time optimizer is available],
|
||||||
|
@ -156,7 +156,7 @@ fi
|
|||||||
|
|
||||||
if test "$bird_cv_c_lto" = yes; then
|
if test "$bird_cv_c_lto" = yes; then
|
||||||
CFLAGS="$CFLAGS -flto"
|
CFLAGS="$CFLAGS -flto"
|
||||||
LDFLAGS="$LDFLAGS -flto"
|
LDFLAGS="$LDFLAGS -flto=4"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING([CFLAGS])
|
AC_MSG_CHECKING([CFLAGS])
|
||||||
|
Loading…
Reference in New Issue
Block a user