From 4280657f13433b5024760ad10ae362a834f1c7a0 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 5 Sep 2019 08:06:23 +0100 Subject: [PATCH] d-fix-mips64el-bootstrap 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 f9feb98f55..610b9c2dae 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -620,6 +620,8 @@ class RustBuild(object): (os.pathsep + env["LIBRARY_PATH"]) \ if "LIBRARY_PATH" in env else "" 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