summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2019-08-14 20:14:59 +0200
committerJan Horak <jhorak@redhat.com>2019-08-14 20:14:59 +0200
commita711b2a7120edbef2b6d59da1b358632269de87c (patch)
tree1867c9d5b5af6b9ef594e468de749e9daec0fb35
parentMerge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/firefox (diff)
downloadlibrewolf-fedora-ff-a711b2a7120edbef2b6d59da1b358632269de87c.tar.gz
librewolf-fedora-ff-a711b2a7120edbef2b6d59da1b358632269de87c.tar.bz2
librewolf-fedora-ff-a711b2a7120edbef2b6d59da1b358632269de87c.zip
Fixed wrong if statement if spec
-rw-r--r--firefox.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index 76a654c..e9cfd7a 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -20,11 +20,11 @@ ExcludeArch: s390x
%global disable_elfhack 1
%global build_with_clang 0
%global use_bundled_cbindgen 1
+# FIXME disable PGO because of -j1 build would take ages
+%global disable_multiprocess_compilation 1
# Build PGO+LTO on x86_64 and aarch64 only due to build issues
# on other arches.
%ifarch x86_64 aarch64
-# FIXME disable PGO because of -j1 build would take ages
-%global disable_multiprocess_compilation 1
%if %{release_build}
%global build_with_pgo 0
%else
@@ -558,7 +558,7 @@ echo "ac_add_options --enable-lto" >> .mozconfig
MOZ_SMP_FLAGS=-j1
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
-%if !%{?disable_multiprocess_compilation}
+%if !0%{?disable_multiprocess_compilation}
%ifarch %{ix86}
[ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
bgstack15