From 8eaa44899cb2f756d21ac152935a9cfa65ca2e7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:13:01 +0200 Subject: Adding debian version 1.66.0+dfsg1-1. Signed-off-by: Daniel Baumann --- debian/patches/d-rustc-fix-mips64el-bootstrap.patch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'debian/patches/d-rustc-fix-mips64el-bootstrap.patch') diff --git a/debian/patches/d-rustc-fix-mips64el-bootstrap.patch b/debian/patches/d-rustc-fix-mips64el-bootstrap.patch index 06d73098a..17ce2e563 100644 --- a/debian/patches/d-rustc-fix-mips64el-bootstrap.patch +++ b/debian/patches/d-rustc-fix-mips64el-bootstrap.patch @@ -38,21 +38,17 @@ index e0d5f6f..57ad8c4 100644 max_atomic_width: Some(64), mcount: "_mcount".into(), -diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py -index 92d29d6..23c0764 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py -@@ -734,6 +734,8 @@ class RustBuild(object): +@@ -745,6 +745,8 @@ # preserve existing RUSTFLAGS env.setdefault("RUSTFLAGS", "") + if self.build_triple().startswith('mips'): + env["RUSTFLAGS"] += " -Ctarget-feature=+xgot" - build_section = "target.{}".format(self.build) target_features = [] if self.get_toml("crt-static", build_section) == "true": -diff --git a/src/test/assembly/asm/mips-types.rs b/src/test/assembly/asm/mips-types.rs -index 04bf49a..a7c6056 100644 + target_features += ["+crt-static"] --- a/src/test/assembly/asm/mips-types.rs +++ b/src/test/assembly/asm/mips-types.rs @@ -1,3 +1,4 @@ -- cgit v1.2.3