mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 00:20:30 +00:00
21 lines
596 B
Diff
21 lines
596 B
Diff
--- a/build/moz.configure/rust.configure
|
|
+++ b/build/moz.configure/rust.configure
|
|
@@ -414,7 +414,7 @@
|
|
rustc_target = find_candidate(candidates)
|
|
|
|
if rustc_target is None:
|
|
- die("Don't know how to translate {} for rustc".format(host_or_target.alias))
|
|
+ rustc_target = "%TERMUX_CARGO_TARGET_NAME%"
|
|
|
|
return rustc_target
|
|
|
|
@@ -599,8 +599,6 @@
|
|
|
|
# ==============================================================
|
|
|
|
-option(env="RUSTFLAGS", nargs=1, help="Rust compiler flags")
|
|
-set_config("RUSTFLAGS", depends("RUSTFLAGS")(lambda flags: flags))
|
|
|
|
|
|
# Rust compiler flags
|