summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2019-08-14 20:15:46 +0200
committerJan Horak <jhorak@redhat.com>2019-08-14 20:15:46 +0200
commitd0fc99e40d172bee24fcaa29bee72ce7a84cdf64 (patch)
tree01fdc7be496f0eafd52eedb350936d25e087e52f /firefox.spec
parentMerge branch 'master' into f30 (diff)
parentFixed wrong if statement if spec (diff)
downloadlibrewolf-fedora-ff-d0fc99e40d172bee24fcaa29bee72ce7a84cdf64.tar.gz
librewolf-fedora-ff-d0fc99e40d172bee24fcaa29bee72ce7a84cdf64.tar.bz2
librewolf-fedora-ff-d0fc99e40d172bee24fcaa29bee72ce7a84cdf64.zip
Merge branch 'master' into f30
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index ada3ef6..295800f 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
@@ -564,7 +564,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