forked from pool/binutils
Try to get separate make headers working with PGO+LTO build
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=374
This commit is contained in:
parent
2af0b96406
commit
a362b336fe
@ -318,6 +318,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -387,6 +391,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
@ -321,6 +321,10 @@ cd build-dir
|
||||
# which are generated only with --enable-maintainer-mode (which we
|
||||
# don't do) or explicitely by make headers, so do this:
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# the above interacts with --enable-pgo-build=lto because all-bfd doesn't
|
||||
# have the PGO handling, hence it's config.cache files are wrong
|
||||
# remove all of those for reconfigure
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
@ -390,6 +394,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
rm */config.cache
|
||||
# force reconfiguring
|
||||
rm bfd/Makefile
|
||||
make %{?_smp_mflags}
|
||||
|
Loading…
Reference in New Issue
Block a user