commit:     f0f88ef9d0570ce8263f786cba55a37d08b198de
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 04:06:06 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 05:54:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f88ef9

app-misc/g15daemon: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/854732
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild | 5 +++++
 app-misc/g15daemon/g15daemon-9999.ebuild     | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild 
b/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild
index 97808207a322..0ac72f2e795e 100644
--- a/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild
+++ b/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild
@@ -84,6 +84,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/854732
+       # https://gitlab.com/menelkir/g15daemon/-/issues/10
+       filter-lto
+
        append-cflags -fcommon #706712
 
        econf $(use_enable static-libs static)

diff --git a/app-misc/g15daemon/g15daemon-9999.ebuild 
b/app-misc/g15daemon/g15daemon-9999.ebuild
index e063bae8d4ca..51f07ad23047 100644
--- a/app-misc/g15daemon/g15daemon-9999.ebuild
+++ b/app-misc/g15daemon/g15daemon-9999.ebuild
@@ -84,6 +84,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/854732
+       # https://gitlab.com/menelkir/g15daemon/-/issues/10
+       filter-lto
+
        append-cflags -fcommon #706712
 
        econf $(use_enable static-libs static)

Reply via email to