From: Matthias Klose Date: Sat, 20 Feb 2021 15:38:30 +0000 (+0000) Subject: pgo+lto-check-ignore X-Git-Tag: archive/raspbian/2.35.2-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cca92c8e24f5e676442872d5f1a35d7f22e36c37;p=binutils.git pgo+lto-check-ignore Gbp-Pq: Name pgo+lto-check-ignore.diff --- diff --git a/Makefile.in b/Makefile.in index 6f912ad86..22faceb64 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1049,7 +1049,7 @@ all: $(MAKE) $(RECURSE_FLAGS_TO_PASS) \ $(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \ @if pgo-build - && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \ + && $(MAKE) -i $(RECURSE_FLAGS_TO_PASS) \ $(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \ $(PGO_BUILD_TRAINING) \ && $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \ diff --git a/Makefile.tpl b/Makefile.tpl index 38f0b021f..f7fe7b508 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -783,7 +783,7 @@ all: $(MAKE) $(RECURSE_FLAGS_TO_PASS) \ $(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \ @if pgo-build - && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \ + && $(MAKE) -i $(RECURSE_FLAGS_TO_PASS) \ $(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \ $(PGO_BUILD_TRAINING) \ && $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \ diff --git a/configure b/configure index 6d48949bb..cbd41b473 100755 --- a/configure +++ b/configure @@ -5547,7 +5547,7 @@ $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver" >&5 $as_echo_n "checking whether the compiler supports -flto=jobserver... " >&6; } old_CFLAGS="$CFLAGS" - PGO_BUILD_LTO_CFLAGS="-flto=jobserver" + PGO_BUILD_LTO_CFLAGS="-flto=jobserver -ffat-lto-objects" CFLAGS="$CFLAGS $PGO_BUILD_LTO_CFLAGS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/configure.ac b/configure.ac index be8454035..27dbac361 100644 --- a/configure.ac +++ b/configure.ac @@ -1418,7 +1418,7 @@ if test "$enable_pgo_build" != "no"; then if test "$enable_pgo_build" = "lto"; then AC_MSG_CHECKING([whether the compiler supports -flto=jobserver]) old_CFLAGS="$CFLAGS" - PGO_BUILD_LTO_CFLAGS="-flto=jobserver" + PGO_BUILD_LTO_CFLAGS="-flto=jobserver -ffat-lto-objects" CFLAGS="$CFLAGS $PGO_BUILD_LTO_CFLAGS" AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo;])],, [PGO_BUILD_LTO_CFLAGS=])