diff -r 87f893cf45b9 -r ed1c30c5f456 MozillaFirefox/MozillaFirefox.spec --- a/MozillaFirefox/MozillaFirefox.spec Thu Jan 31 11:21:22 2019 +0100 +++ b/MozillaFirefox/MozillaFirefox.spec Wed Feb 13 08:51:42 2019 +0100 @@ -19,12 +19,12 @@ # changed with every update %define major 65 -%define mainver %major.0 -%define orig_version 65.0 +%define mainver %major.0.1 +%define orig_version 65.0.1 %define orig_suffix %{nil} %define update_channel release %define branding 1 -%define releasedate 20190124174741 +%define releasedate 20190211233335 %define source_prefix firefox-%{orig_version} # always build with GCC as SUSE Security Team requires that @@ -159,7 +159,6 @@ Patch2: mozilla-kde.patch Patch3: mozilla-ntlm-full-path.patch Patch4: mozilla-openaes-decl.patch -Patch6: mozilla-reduce-files-per-UnifiedBindings.patch Patch7: mozilla-aarch64-startup-crash.patch Patch8: mozilla-bmo256180.patch Patch9: mozilla-bmo1463035.patch @@ -267,9 +266,6 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 -%ifarch %ix86 -%patch6 -p1 -%endif %patch7 -p1 %patch8 -p1 %patch9 -p1 @@ -384,6 +380,12 @@ %ifarch aarch64 %arm s390x ac_add_options --disable-webrtc %endif +%ifarch x86_64 +# LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506) +%if 0%{?suse_version} > 1500 +ac_add_options --enable-lto +%endif +%endif EOF ./mach build