From: Debian Rust Maintainers Date: Sun, 23 Sep 2018 17:16:53 +0000 (+0100) Subject: d-fix-mips64el-bootstrap X-Git-Tag: archive/raspbian/1.29.0+dfsg1-1+rpi1~1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b3fb743a2fc19ab1caa9e6ac16c5e777892f1300;p=rustc.git d-fix-mips64el-bootstrap Gbp-Pq: Name d-fix-mips64el-bootstrap.patch --- diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 345107f72c..7fe34a3d44 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 = []