summaryrefslogtreecommitdiff
path: root/mozilla-rust-config.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-06-12 14:57:56 +0200
committerJan Horak <jhorak@redhat.com>2017-06-12 14:57:56 +0200
commit422c357017ae1c10dd9e7e0eb36d02c68c859d5a (patch)
tree821d3d49b94c26ffe87b192b5318ec954bec8c3a /mozilla-rust-config.patch
parentbuild fix - packaged missing files (diff)
downloadlibrewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.tar.gz
librewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.tar.bz2
librewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.zip
Added fixes for ppc64le, ppc64 and s390x
Diffstat (limited to 'mozilla-rust-config.patch')
-rw-r--r--mozilla-rust-config.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/mozilla-rust-config.patch b/mozilla-rust-config.patch
deleted file mode 100644
index b4d59af..0000000
--- a/mozilla-rust-config.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -up firefox-53.0.2/build/moz.configure/rust.configure.powerpc-rust firefox-53.0.2/build/moz.configure/rust.configure
---- firefox-53.0.2/build/moz.configure/rust.configure.powerpc-rust 2017-05-25 13:07:00.041331688 +0200
-+++ firefox-53.0.2/build/moz.configure/rust.configure 2017-05-25 13:59:49.692189995 +0200
-@@ -131,6 +131,9 @@ def rust_triple_alias(host_or_target):
- ('sparc64', 'Linux'): 'sparc64-unknown-linux-gnu',
- ('x86', 'Linux'): 'i686-unknown-linux-gnu',
- ('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
-+ ('ppc64le', 'Linux'): 'powerpc64le-unknown-linux-gnu',
-+ ('ppc64', 'Linux'): 'powerpc64-unknown-linux-gnu',
-+ ('s390x', 'Linux'): 's390x-unknown-linux-gnu',
- # OS X
- ('x86', 'OSX'): 'i686-apple-darwin',
- ('x86_64', 'OSX'): 'x86_64-apple-darwin',
-@@ -151,7 +154,7 @@ def rust_triple_alias(host_or_target):
- }.get((host_or_target.cpu, os_or_kernel), None)
-
- if rustc_target is None:
-- die("Don't know how to translate {} for rustc".format(host_or_target.alias))
-+ die("Don't know how to translate {} for rustc, cpu: {}, os: {}".format(target.alias, target.cpu, os_or_kernel))
-
- # Check to see whether our rustc has a reasonably functional stdlib
- # for our chosen target.
bgstack15