void-packages/srcpkgs/thunderbird/patches/Force-use-the-i686-rust-tar...

22 lines
857 B
Diff

From: Mike Hommey <mh@glandium.org>
Date: Tue, 9 May 2017 10:37:08 +0200
Subject: Force use the i686 rust target
---
mozilla/build/moz.configure/rust.configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mozilla/build/moz.configure/rust.configure b/mozilla/build/moz.configure/rust.configure
index 261768f..3f14978 100644
--- mozilla/build/moz.configure/rust.configure
+++ mozilla/build/moz.configure/rust.configure
@@ -105,7 +105,7 @@ def rust_target(rust_compiler, rustc, target, cross_compiling):
# OpenBSD
('x86_64', 'OpenBSD'): 'x86_64-unknown-openbsd',
# Linux
- ('x86', 'Linux'): 'i586-unknown-linux-gnu',
+ ('x86', 'Linux'): 'i686-unknown-linux-gnu',
# Linux
('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
# OS X and iOS