Use jobserver if available for flto

This commit is contained in:
Danny Robson 2012-05-17 14:38:13 +10:00
parent fd64e95a7d
commit 700245b5bf

View File

@ -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