diff options
author | Sam James <sam@gentoo.org> | 2023-10-28 08:07:38 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-28 20:37:38 +0100 |
commit | b465fdbfa7432627d207a6305b63cac882120c86 (patch) | |
tree | e63c7466bed9ffc1d498b327d31d88ddc09f7459 /app-text/lcdf-typetools | |
parent | dev-python/amodem: Enable py3.12 (diff) | |
download | gentoo-b465fdbfa7432627d207a6305b63cac882120c86.tar.gz gentoo-b465fdbfa7432627d207a6305b63cac882120c86.tar.bz2 gentoo-b465fdbfa7432627d207a6305b63cac882120c86.zip |
app-text/lcdf-typetools: avoid known GCC ICE with -fdevirtualize-at-ltrans
Bug: https://gcc.gnu.org/PR100010
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/lcdf-typetools')
-rw-r--r-- | app-text/lcdf-typetools/lcdf-typetools-2.108-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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) } |