commit:     cb7ef59c5e93ae0cc20242c9154160c39e19de45
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 08:08:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 08:08:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7ef59c

app-crypt/gnupg: filter-lto

Unsupported by upstream and warnings indicating that it's unsafe are unfixed.

Closes: https://bugs.gentoo.org/854222
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/gnupg/gnupg-2.2.41.ebuild   | 3 +++
 app-crypt/gnupg/gnupg-2.4.2-r1.ebuild | 3 +++
 app-crypt/gnupg/gnupg-2.4.3.ebuild    | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/app-crypt/gnupg/gnupg-2.2.41.ebuild 
b/app-crypt/gnupg/gnupg-2.2.41.ebuild
index d6120e2f3435..85527232bafd 100644
--- a/app-crypt/gnupg/gnupg-2.2.41.ebuild
+++ b/app-crypt/gnupg/gnupg-2.2.41.ebuild
@@ -81,6 +81,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+       # Upstream don't support LTO, bug #854222.
+       filter-lto
+
        local myconf=(
                $(use_enable bzip2)
                $(use_enable nls)

diff --git a/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild 
b/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
index 6fd1932406ef..23f05b57b242 100644
--- a/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
@@ -96,6 +96,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+       # Upstream don't support LTO, bug #854222.
+       filter-lto
+
        local myconf=(
                $(use_enable bzip2)
                $(use_enable nls)

diff --git a/app-crypt/gnupg/gnupg-2.4.3.ebuild 
b/app-crypt/gnupg/gnupg-2.4.3.ebuild
index a8fed477d30e..7317dc4c1bda 100644
--- a/app-crypt/gnupg/gnupg-2.4.3.ebuild
+++ b/app-crypt/gnupg/gnupg-2.4.3.ebuild
@@ -97,6 +97,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+       # Upstream don't support LTO, bug #854222.
+       filter-lto
+
        local myconf=(
                $(use_enable bzip2)
                $(use_enable nls)

Reply via email to