diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-05-13 10:39:04 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-05-13 18:13:38 +0200 |
commit | 89dc13243b7311669e5e4ad0ff8abbc0c7216dfd (patch) | |
tree | 3721220e7efbc62be985911fd0f74077b77c55c0 /etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch | |
parent | a1512f1ad7a143493d0d38a0b715e06d8ba62759 (diff) | |
download | bootstrappable-toolchain-89dc13243b7311669e5e4ad0ff8abbc0c7216dfd.tar.gz |
Add gcc 14.1.0
Diffstat (limited to 'etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch')
-rw-r--r-- | etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch b/etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch new file mode 100644 index 0000000..f37fb43 --- /dev/null +++ b/etc/patches/gcc-14/reproducibility/0003-strip-build-directory-from-mkheaders.conf.patch @@ -0,0 +1,25 @@ +From fab4c6f6bf312f867ffec0cdf46f31b5e1fe48f9 Mon Sep 17 00:00:00 2001 +From: Oliver Reiche <oliver.reiche@huawei.com> +Date: Fri, 8 Sep 2023 16:16:29 +0200 +Subject: [PATCH 3/5] Strip build directory from mkheaders.conf + +--- + gcc/Makefile.in | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/Makefile.in b/gcc/Makefile.in +index a74761b7a..2e656c540 100644 +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -4182,6 +4182,8 @@ install-mkheaders: stmp-int-hdrs install-itoolsdirs \ + >> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf + echo 'STMP_FIXINC="$(STMP_FIXINC)"' \ + >> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf ++ sed -i 's|'$${BUILD_ROOT_DIR:-/nonexistent}'|/build|g' \ ++ $(DESTDIR)$(itoolsdatadir)/mkheaders.conf + + # Use this target to install the program `collect2' under the name `collect2'. + install-collect2: collect2 installdirs +-- +2.30.2 + |