1 2 3 4 5 6 7 8 9 10 11 12
|
Bug: https://github.com/rust-lang/rust/issues/52108
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -620,6 +620,8 @@
(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 = []
|