commit: 5d333828408e6230ce3a7aef9ce6fba2fb5ec945 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Feb 29 07:29:44 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 29 07:33:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d333828
dev-util/ragel: filter LTO, no-SA ragel and colm are *very* fragile. Bug: https://bugs.gentoo.org/858341 Bug: https://bugs.gentoo.org/883993 Bug: https://bugs.gentoo.org/924163 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/ragel/ragel-7.0.4-r3.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-util/ragel/ragel-7.0.4-r3.ebuild b/dev-util/ragel/ragel-7.0.4-r3.ebuild index 4f1a3096a21c..7de8c2fa21d1 100644 --- a/dev-util/ragel/ragel-7.0.4-r3.ebuild +++ b/dev-util/ragel/ragel-7.0.4-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Compiles finite state machines from regular languages into executable code" HOMEPAGE="https://www.colm.net/open-source/ragel/" @@ -51,6 +51,11 @@ src_prepare() { } src_configure() { + # We need to be careful with both ragel and colm. + # See bug #858341, bug #883993 bug #924163. + filter-lto + append-flags -fno-strict-aliasing + econf \ --with-colm="${EPREFIX}/usr" \ $(use_enable doc manual)
