summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-12 00:06:06 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-07-12 01:54:16 -0400
commitf0f88ef9d0570ce8263f786cba55a37d08b198de (patch)
treee04696e8aad0ee167ff90347e110ea2a1cbaaa1c /app-misc/g15daemon
parentdev-lang/c-intercal: mark as LTO-unsafe (diff)
downloadgentoo-f0f88ef9d0570ce8263f786cba55a37d08b198de.tar.gz
gentoo-f0f88ef9d0570ce8263f786cba55a37d08b198de.tar.bz2
gentoo-f0f88ef9d0570ce8263f786cba55a37d08b198de.zip
app-misc/g15daemon: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/854732 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'app-misc/g15daemon')
-rw-r--r--app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild5
-rw-r--r--app-misc/g15daemon/g15daemon-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
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)