From 7f5ab49250d92e7de6ae0de5e7d6d8bb5af82efa01f9fe982fd55018d4715564 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 27 Oct 2021 15:31:17 +0000 Subject: [PATCH] Accepting request 927257 from home:marxin:branches:mozilla:Factory - Enable LTO for openSUSE Tumbleweed. OBS-URL: https://build.opensuse.org/request/show/927257 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=939 --- MozillaFirefox.changes | 5 +++++ MozillaFirefox.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 6c2fe80..eb6a86d 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 25 08:13:55 UTC 2021 - Martin Liška + +- Enable LTO for openSUSE Tumbleweed. + ------------------------------------------------------------------- Wed Oct 20 06:49:52 UTC 2021 - Martin Sirringhaus diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 4a4e09d..f9e7c83 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -522,7 +522,7 @@ 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 && 0%{?suse_version} < 1550 +%if 0%{?suse_version} > 1500 ac_add_options --enable-lto %if 0%{?do_profiling} ac_add_options MOZ_PGO=1