From 3055774d6778d54a2ae8d5d65fede20ac9c51e2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 26 Jan 2020 01:55:41 +0100 Subject: [PATCH] - don't limit clang --- firefox.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firefox.spec b/firefox.spec index 5a46da9..a09070a 100644 --- a/firefox.spec +++ b/firefox.spec @@ -2127,6 +2127,7 @@ ac_add_options --with-system-zlib ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)" EOF +%if ! %{with clang} # 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. RPM_BUILD_NR_THREADS=$(echo %{_smp_mflags} | cut -dj -f2) @@ -2136,6 +2137,7 @@ RPM_BUILD_NR_THREADS=$(echo %{_smp_mflags} | cut -dj -f2) RPM_BUILD_NR_THREADS=1 %endif export MOZ_MAKE_FLAGS="-j${RPM_BUILD_NR_THREADS}" +%endif export MOZ_SERVICES_SYNC="1" %if %{with pgo} -- 2.43.0