commit:     b465fdbfa7432627d207a6305b63cac882120c86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 07:07:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 19:37:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b465fdbf

app-text/lcdf-typetools: avoid known GCC ICE with -fdevirtualize-at-ltrans

Bug: https://gcc.gnu.org/PR100010
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild 
b/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
index aa9f0d5ab6c7..bdf2d563b39f 100644
--- a/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
+++ b/app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,6 +19,9 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 src_configure() {
+       # gcc ICE with LTO: https://gcc.gnu.org/PR100010
+       filter-flags -fdevirtualize-at-ltrans
+
        use kpathsea && has_version 'dev-libs/kpathsea' && append-cppflags 
"$($(tc-getPKG_CONFIG) --cflags kpathsea)"
        econf $(use_with kpathsea)
 }

Reply via email to