commit:     b5b7e0e12cecdc1c58742dd05a1033089470c974
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 01:31:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 04:47:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b7e0e1

dev-db/libiodbc: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/924665
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild 
b/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild
index b77e2c06acf0..6c034f3eb3ba 100644
--- a/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild
+++ b/dev-db/libiodbc/libiodbc-3.52.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_PN="iODBC"
 
@@ -41,6 +41,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/924665
+       # https://github.com/openlink/iODBC/issues/100
+       filter-lto
+
        econf \
                --disable-static \
                --enable-odbc3 \

Reply via email to