pgo+lto-check-ignore
authorMatthias Klose <doko@debian.org>
Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)
committerMatthias Klose <doko@debian.org>
Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)
Gbp-Pq: Name pgo+lto-check-ignore.diff

Makefile.in
Makefile.tpl
configure
configure.ac

index 6f912ad86b27f363e770bdae0a0fd995d37ee7d0..22faceb6435917e561153a7188d3be2ae672c7c5 100644 (file)
@@ -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 \
index 38f0b021f43c3948ae7c14fc206216c799debf70..f7fe7b508d814489d87c596796e5b4b24b866b99 100644 (file)
@@ -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 \
index 6d48949bb6584cf1daf461b62da87f6171a495d7..cbd41b473f0ad51db86e80ac202977a0626854a9 100755 (executable)
--- 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.  */
index be84540353391f8fe65bec2df307df0a23d4c0b9..27dbac361cbe2217b1be525dc415c8983f002d5b 100644 (file)
@@ -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=])