diff options
Diffstat (limited to 'debian/patches/u-reproducible-build.patch')
-rw-r--r-- | debian/patches/u-reproducible-build.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/u-reproducible-build.patch b/debian/patches/u-reproducible-build.patch deleted file mode 100644 index f0823703e..000000000 --- a/debian/patches/u-reproducible-build.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Ximin Luo <infinity0@debian.org> -Date: Thu, 14 Jul 2022 13:17:37 +0200 -Subject: Don't split dwarf debug for a fully-reproducible build - -Bug: https://github.com/rust-lang/rust/issues/34902 ---- - compiler/rustc_llvm/build.rs | 5 +++++ - 1 file changed, 5 insertions(+) - -Index: rust/compiler/rustc_llvm/build.rs -=================================================================== ---- rust.orig/compiler/rustc_llvm/build.rs -+++ rust/compiler/rustc_llvm/build.rs -@@ -180,6 +180,11 @@ fn main() { - let mut cfg = cc::Build::new(); - cfg.warnings(false); - for flag in cxxflags.split_whitespace() { -+ // Split-dwarf gives unreproducible DW_AT_GNU_dwo_id so don't do it -+ if flag == "-gsplit-dwarf" { -+ continue; -+ } -+ - // Ignore flags like `-m64` when we're doing a cross build - if is_crossed && flag.starts_with("-m") { - continue; |