summaryrefslogtreecommitdiff
path: root/etc/patches/gcc-10
diff options
context:
space:
mode:
Diffstat (limited to 'etc/patches/gcc-10')
-rw-r--r--etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixincludes.patch (renamed from etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixinclues.patch)2
-rw-r--r--etc/patches/gcc-10/reproducibility/0002-compute-reproducible-checksums.patch4
-rw-r--r--etc/patches/gcc-10/reproducibility/series2
3 files changed, 4 insertions, 4 deletions
diff --git a/etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixinclues.patch b/etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixincludes.patch
index d9a545f..96e8ec7 100644
--- a/etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixinclues.patch
+++ b/etc/patches/gcc-10/reproducibility/0001-strip-build-directory-from-fixincludes.patch
@@ -1,7 +1,7 @@
From a097d475fa8806265f445d11f3074f506baf4a3e 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 1/2] Strip build directory from fixinclues
+Subject: [PATCH 1/2] Strip build directory from fixincludes
... to achieve a reproducible binary, which contains the
configure string. For this to work, the user needs to set
diff --git a/etc/patches/gcc-10/reproducibility/0002-compute-reproducible-checksums.patch b/etc/patches/gcc-10/reproducibility/0002-compute-reproducible-checksums.patch
index 3aeb9fb..ee1987e 100644
--- a/etc/patches/gcc-10/reproducibility/0002-compute-reproducible-checksums.patch
+++ b/etc/patches/gcc-10/reproducibility/0002-compute-reproducible-checksums.patch
@@ -48,7 +48,7 @@ index 8944b9b9f..7ed444c5f 100644
+ rm -rf stripped_c_checksum_inputs; \
+ mkdir stripped_c_checksum_inputs; \
+ cp $(C_OBJS) $(BACKEND) $(LIBDEPS) stripped_c_checksum_inputs/; \
-+ strip -g stripped_c_checksum_inputs/*; \
++ $(STRIP_FOR_TARGET) -g stripped_c_checksum_inputs/*; \
+ build/genchecksum$(build_exeext) $$(ls stripped_c_checksum_inputs/* | LC_ALL=C sort) \
checksum-options > cc1-checksum.c.tmp && \
$(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c; \
@@ -65,7 +65,7 @@ index 7896591dd..c65afcb85 100644
+ rm -rf stripped_cp_checksum_inputs; \
+ mkdir stripped_cp_checksum_inputs; \
+ cp $(CXX_OBJS) $(BACKEND) $(CODYLIB) $(LIBDEPS) stripped_cp_checksum_inputs; \
-+ strip -g stripped_cp_checksum_inputs/*; \
++ $(STRIP_FOR_TARGET) -g stripped_cp_checksum_inputs/*; \
+ build/genchecksum$(build_exeext) $$(ls stripped_cp_checksum_inputs/* | LC_ALL=C sort) \
checksum-options > cc1plus-checksum.c.tmp && \
$(srcdir)/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c; \
diff --git a/etc/patches/gcc-10/reproducibility/series b/etc/patches/gcc-10/reproducibility/series
index 1ec9fe3..23d38d7 100644
--- a/etc/patches/gcc-10/reproducibility/series
+++ b/etc/patches/gcc-10/reproducibility/series
@@ -1,2 +1,2 @@
-0001-strip-build-directory-from-fixinclues.patch
+0001-strip-build-directory-from-fixincludes.patch
0002-compute-reproducible-checksums.patch