diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-12-15 14:49:19 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-12-21 12:23:24 +0100 |
commit | fc1de24f9378ca1e9c6e0f12a6abe65d48314d65 (patch) | |
tree | b72e3e118f1023874dab7ea7ae38c44af37fc73a /etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch | |
parent | ec7770c855cc4582fe1dcf27eb7defafa5c8c01d (diff) | |
download | bootstrappable-toolchain-fc1de24f9378ca1e9c6e0f12a6abe65d48314d65.tar.gz |
gcc: Fix GCC patches
Diffstat (limited to 'etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch')
-rw-r--r-- | etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch b/etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch deleted file mode 100644 index fd1ea04..0000000 --- a/etc/patches/gcc-13/reproducibility/0002-strip-build-directory-from-fixinclues.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a6fc1b1f0a05fbd6ba664393695ad20d3577a517 Mon Sep 17 00:00:00 2001 -From: Oliver Reiche <oliver.reiche@huawei.com> -Date: Fri, 18 Aug 2023 14:36:57 +0200 -Subject: [PATCH 2/5] Strip build directory from fixinclues - -... to achieve a reproducible binary, which contains the -configure string. For this to work, the user needs to set -"BUILD_ROOT_DIR" before building. ---- - fixincludes/configure | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/fixincludes/configure b/fixincludes/configure -index bdcc41f6d..9dc499bc1 100755 ---- a/fixincludes/configure -+++ b/fixincludes/configure -@@ -6384,6 +6384,9 @@ cat >"$ac_tmp/defines.awk" <<\_ACAWK || - BEGIN { - _ACEOF - -+# Remove host machine's build path from confdefs.h -+sed -i 's|'${BUILD_ROOT_DIR:-/nonexistent}'|/build|g' confdefs.h -+ - # Transform confdefs.h into an awk script `defines.awk', embedded as - # here-document in config.status, that substitutes the proper values into - # config.h.in to produce config.h. --- -2.30.2 - |