mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-24 15:02:19 +00:00
13 lines
463 B
Diff
13 lines
463 B
Diff
Bug: https://github.com/rust-lang/rust/issues/52108
|
|
--- a/src/bootstrap/bootstrap.py
|
|
+++ b/src/bootstrap/bootstrap.py
|
|
@@ -868,6 +868,8 @@
|
|
# preserve existing RUSTFLAGS
|
|
env.setdefault("RUSTFLAGS", "")
|
|
env["RUSTFLAGS"] += " -Cdebuginfo=2"
|
|
+ if self.build_triple().startswith('mips'):
|
|
+ env["RUSTFLAGS"] += " -Ctarget-feature=+xgot"
|
|
|
|
build_section = "target.{}".format(self.build)
|
|
target_features = []
|