summaryrefslogtreecommitdiff
path: root/etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-05-13 10:39:04 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2024-05-13 18:13:38 +0200
commit89dc13243b7311669e5e4ad0ff8abbc0c7216dfd (patch)
tree3721220e7efbc62be985911fd0f74077b77c55c0 /etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch
parenta1512f1ad7a143493d0d38a0b715e06d8ba62759 (diff)
downloadbootstrappable-toolchain-89dc13243b7311669e5e4ad0ff8abbc0c7216dfd.tar.gz
Add gcc 14.1.0
Diffstat (limited to 'etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch')
-rw-r--r--etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch b/etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch
new file mode 100644
index 0000000..0387da6
--- /dev/null
+++ b/etc/patches/gcc-14/reproducibility/0005-do-not-hardcode-rpath-into-cc1-libs.patch
@@ -0,0 +1,26 @@
+From 324a42a4cc1b9152ee73c285725038b9a610d7f1 Mon Sep 17 00:00:00 2001
+From: Oliver Reiche <oliver.reiche@huawei.com>
+Date: Fri, 8 Sep 2023 14:59:34 +0200
+Subject: [PATCH 5/5] Do not hardcode rpath into cc1 libs
+
+... which is a temporary path anyway.
+---
+ libcc1/configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libcc1/configure b/libcc1/configure
+index ea689a353..07ff4cde4 100755
+--- a/libcc1/configure
++++ b/libcc1/configure
+@@ -17453,7 +17453,7 @@ finish_cmds=$lt_finish_cmds
+ finish_eval=$lt_finish_eval
+
+ # Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++hardcode_into_libs=no #$hardcode_into_libs
+
+ # Compile-time system search path for libraries.
+ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+--
+2.30.2
+