Use jobserver if available for flto
This commit is contained in:
parent
fd64e95a7d
commit
700245b5bf
@ -137,8 +137,8 @@ if test "x$ac_cv_debugging" = "xyes"; then
|
||||
AC_DEFINE([_GLIBCXX_DEBUG], [], [Description])
|
||||
|
||||
else
|
||||
COMMON_CFLAGS="$COMMON_CFLAGS -O2 -flto"
|
||||
COMMON_LDFLAGS="$COMMON_LDFLAGS -flto"
|
||||
COMMON_CFLAGS="$COMMON_CFLAGS -O2 -flto=jobserver"
|
||||
COMMON_LDFLAGS="$COMMON_LDFLAGS -flto=jobserver"
|
||||
fi
|
||||
|
||||
case $host_os in
|
||||
|
Loading…
Reference in New Issue
Block a user