aboutsummaryrefslogtreecommitdiffstats
path: root/testing/firefox/fix-rust-target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/firefox/fix-rust-target.patch')
-rw-r--r--testing/firefox/fix-rust-target.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/firefox/fix-rust-target.patch b/testing/firefox/fix-rust-target.patch
new file mode 100644
index 0000000000..c1b48d54bc
--- /dev/null
+++ b/testing/firefox/fix-rust-target.patch
@@ -0,0 +1,16 @@
+--- a/build/moz.configure/rust.configure
++++ b/build/moz.configure/rust.configure
+@@ -127,10 +127,10 @@
+ ('x86_64', 'OpenBSD'): 'x86_64-unknown-openbsd',
+ # Linux
+ ('aarch64', 'Linux'): 'aarch64-unknown-linux-gnu',
+- ('arm', 'Linux'): 'armv7-unknown-linux-gnueabihf',
++ ('arm', 'Linux'): 'armv6-alpine-linux-musleabihf',
+ ('sparc64', 'Linux'): 'sparc64-unknown-linux-gnu',
+- ('x86', 'Linux'): 'i686-unknown-linux-gnu',
+- ('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
++ ('x86', 'Linux'): 'i686-alpine-linux-musl',
++ ('x86_64', 'Linux'): 'x86_64-alpine-linux-musl',
+ # OS X
+ ('x86', 'OSX'): 'i686-apple-darwin',
+ ('x86_64', 'OSX'): 'x86_64-apple-darwin',