From: Debian Rust Maintainers Date: Mon, 28 Jan 2019 06:02:48 +0000 (+0000) Subject: d-fix-mips64el-bootstrap X-Git-Tag: archive/raspbian/1.32.0+dfsg1-1+rpi1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af853fe4c7c89b0c730115500aa6a72f80cc6d92;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 1b795a81cb..6c06d17c26 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -623,6 +623,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 = []