[packages/firefox] - don't limit clang

arekm arekm at pld-linux.org
Sun Jan 26 01:55:49 CET 2020


commit 3055774d6778d54a2ae8d5d65fede20ac9c51e2b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Jan 26 01:55:41 2020 +0100

    - 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/3055774d6778d54a2ae8d5d65fede20ac9c51e2b



More information about the pld-cvs-commit mailing list