summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-04-19 09:29:00 +0200
committerMartin Stransky <stransky@redhat.com>2017-04-19 09:29:00 +0200
commit6d57516fb17d1af03d547198f79bbad6f1977b91 (patch)
tree9f176ddd11c21dd8c958ad18a9665c1d5cfd2252
parentbuild fix (diff)
downloadlibrewolf-fedora-ff-6d57516fb17d1af03d547198f79bbad6f1977b91.tar.gz
librewolf-fedora-ff-6d57516fb17d1af03d547198f79bbad6f1977b91.tar.bz2
librewolf-fedora-ff-6d57516fb17d1af03d547198f79bbad6f1977b91.zip
build fix - explicitly disable rust on unsupported arches
-rw-r--r--firefox.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 61cc0f1..c50187b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -443,6 +443,8 @@ echo "ac_add_options --without-system-icu" >> .mozconfig
%if %{?build_with_rust}
echo "ac_add_options --enable-rust" >> .mozconfig
+%else
+echo "ac_add_options --disable-rust" >> .mozconfig
%endif
%ifarch aarch64 ppc64 s390x
bgstack15