MozillaFirefox/MozillaFirefox.spec
branchfirefox68
changeset 1098 538cbf0bbdca
parent 1097 840132a4a9b3
child 1099 8a3c73e74e65
--- a/MozillaFirefox/MozillaFirefox.spec	Wed Jul 10 08:14:34 2019 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Fri Aug 30 23:43:39 2019 +0200
@@ -19,12 +19,12 @@
 
 # changed with every update
 %define major          68
-%define mainver        %major.0
-%define orig_version   68.0
+%define mainver        %major.0.2
+%define orig_version   68.0.2
 %define orig_suffix    %{nil}
 %define update_channel release
 %define branding       1
-%define releasedate    20190705220548
+%define releasedate    20190813150448
 %define source_prefix  firefox-%{orig_version}
 
 # always build with GCC as SUSE Security Team requires that
@@ -348,7 +348,7 @@
 %endif
 export CXXFLAGS="$CFLAGS"
 export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
-%limit_build -m 1500
+%limit_build -m 2000
 cat << EOF > $MOZCONFIG
 mk_add_options MOZILLA_OFFICIAL=1
 mk_add_options BUILD_OFFICIAL=1
@@ -370,7 +370,7 @@
 ac_add_options --enable-debug-symbols
 %endif
 %if 0%{?suse_version} > 1549
-%ifnarch aarch64 ppc64 ppc64le
+%ifnarch aarch64 ppc64 ppc64le s390x
 ac_add_options --disable-elf-hack
 %endif
 %endif
@@ -412,6 +412,10 @@
 %ifarch aarch64 %arm s390x
 ac_add_options --disable-webrtc
 %endif
+# mitigation/workaround for bmo#1512162
+%ifarch ppc64le
+ac_add_options --enable-optimize="-O1"
+%endif
 %ifarch x86_64
 # LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506)
 %if 0%{?suse_version} > 1500
@@ -449,7 +453,7 @@
 mkdir -p %{buildroot}%{progdir}/browser/extensions
 truncate -s 0 %{_tmppath}/translations.{common,other}
 sed -r '/^(ja-JP-mac|en-US|)$/d;s/ .*$//' $RPM_BUILD_DIR/%{source_prefix}/browser/locales/shipped-locales \
-    | xargs -P 8 -n 1 -I {} /bin/sh -c '
+    | xargs -n 1 -I {} /bin/sh -c '
         locale=$1
         pushd $RPM_BUILD_DIR/compare-locales
         PYTHONPATH=lib \