diff options
author | Sam James <sam@gentoo.org> | 2024-02-29 07:29:44 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-29 07:33:54 +0000 |
commit | 5d333828408e6230ce3a7aef9ce6fba2fb5ec945 (patch) | |
tree | 1632de51ebeba95a84eb8ea48d5793063e6dd66e /dev-util | |
parent | app-containers/lxd: stabilize 5.0.3-r2 for amd64 (diff) | |
download | gentoo-5d333828408e6230ce3a7aef9ce6fba2fb5ec945.tar.gz gentoo-5d333828408e6230ce3a7aef9ce6fba2fb5ec945.tar.bz2 gentoo-5d333828408e6230ce3a7aef9ce6fba2fb5ec945.zip |
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@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ragel/ragel-7.0.4-r3.ebuild | 9 |
1 files 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) |