diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 349ba9d..87c23a7 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 25 07:03:29 UTC 2019 - Bernhard Wiedemann + +- Allow to build without profile guided optimizations (boo#1040589) + ------------------------------------------------------------------- Fri Sep 20 09:21:05 UTC 2019 - Martin Liška diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 39a4b86..1b2efcb 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -454,10 +454,13 @@ ac_add_options --enable-optimize="-O1" %ifarch x86_64 # LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506) %if 0%{?suse_version} > 1500 +%if 0%{?do_profiling} ac_add_options --enable-lto +# for some reason, building with LTO fails without PGO ac_add_options MOZ_PGO=1 %endif %endif +%endif EOF %if !%{with only_print_mozconfig} %ifarch ppc64 s390x s390