From: Debian Rust Maintainers Date: Mon, 23 Dec 2019 03:21:02 +0000 (+0000) Subject: d-fix-mips64el-bootstrap X-Git-Tag: archive/raspbian/1.39.0+dfsg1-4+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4df7c5d1f07aa7966d4d0598dbfbda2f3662a23a;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 c6cb0a7826..e4ae84deb7 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -632,6 +632,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 = []