From b0170f435c3ec81099eaed81ee013d63cd0dedd9 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 6 Aug 2020 21:11:39 +0100 Subject: [PATCH] d-fix-mips64el-bootstrap Bug: https://github.com/rust-lang/rust/issues/52108 =================================================================== Gbp-Pq: Name d-fix-mips64el-bootstrap.patch --- src/bootstrap/bootstrap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 22868f7299..87be5e336a 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -696,6 +696,8 @@ class RustBuild(object): # preserve existing RUSTFLAGS env.setdefault("RUSTFLAGS", "") env["RUSTFLAGS"] += " -Cdebuginfo=2" + if self.build_triple().startswith('mips'): + env["RUSTFLAGS"] += " -Cllvm-args=-mxgot" build_section = "target.{}".format(self.build_triple()) target_features = [] -- 2.30.2