From 5bbf53467cd7b68557d8e37332968081c64e9908 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 4 Mar 2022 22:21:05 +0000 Subject: removing pic --- extra/patches/js78/fix-rust-target.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/patches/js78/fix-rust-target.patch (limited to 'extra/patches/js78/fix-rust-target.patch') diff --git a/extra/patches/js78/fix-rust-target.patch b/extra/patches/js78/fix-rust-target.patch new file mode 100644 index 0000000..f1a98df --- /dev/null +++ b/extra/patches/js78/fix-rust-target.patch @@ -0,0 +1,15 @@ +Allow us to just set RUST_TARGEt ourselves instead of hacking around in mozilla's +weird custom build system... + +diff -upr firefox-68.9.0.orig/build/moz.configure/rust.configure firefox-68.9.0/build/moz.configure/rust.configure +--- firefox-68.9.0.orig/build/moz.configure/rust.configure 2020-06-02 22:54:39.982616128 +0200 ++++ firefox-68.9.0/build/moz.configure/rust.configure 2020-06-02 23:08:37.656332899 +0200 +@@ -345,7 +345,7 @@ def rust_triple_alias(host_or_target): + + return None + +- rustc_target = find_candidate(candidates) ++ rustc_target = os.environ['RUST_TARGET'] + + if rustc_target is None: + die("Don't know how to translate {} for rustc".format( -- cgit v1.2.1