From 05dad937b963fcb98a93c427d17291c602be566712bff92415810fe3b6a3d598 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 25 Sep 2019 08:59:57 +0000 Subject: [PATCH] Accepting request 733089 from home:bmwiedemann:branches:mozilla:Factory Allow to build without profile guided optimizations (boo#1040589) OBS-URL: https://build.opensuse.org/request/show/733089 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=771 --- MozillaFirefox.changes | 5 +++++ MozillaFirefox.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 349ba9da..87c23a78 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 39a4b86f..1b2efcbf 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