From: Debian Rust Maintainers Date: Fri, 2 Nov 2018 08:42:36 +0000 (+0000) Subject: d-fix-mips64el-bootstrap X-Git-Tag: archive/raspbian/1.30.0+dfsg1-2+rpi1~1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=23cac49fe5f742780047d3d4814d1b697bb6185a;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 1b3ece7653..90ff811921 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 = []