diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index b2f79ab..61ce728 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 13 06:12:43 UTC 2019 - Martin Liška + +- Enable LTO only for latest new toolchain (boo#1125038). + ------------------------------------------------------------------- Mon Feb 11 10:11:45 UTC 2019 - Martin Liška diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index a37086b..9e3b0d6 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -381,8 +381,11 @@ ac_add_options --with-arch=armv7-a 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