summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-29 07:30:43 +0000
committerSam James <sam@gentoo.org>2024-02-29 07:33:54 +0000
commit1a1e08ac5ed37555aafc8f09748fb942d9b7255c (patch)
tree143efcff49abe0b365c90f21c67f875aa42e3773 /dev-util/colm
parentdev-util/ragel: filter LTO, no-SA (diff)
downloadgentoo-1a1e08ac5ed37555aafc8f09748fb942d9b7255c.tar.gz
gentoo-1a1e08ac5ed37555aafc8f09748fb942d9b7255c.tar.bz2
gentoo-1a1e08ac5ed37555aafc8f09748fb942d9b7255c.zip
dev-util/colm: 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/colm')
-rw-r--r--dev-util/colm/colm-0.14.7-r3.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/colm/colm-0.14.7-r3.ebuild b/dev-util/colm/colm-0.14.7-r3.ebuild
index 434617e07dbd..852300e4e897 100644
--- a/dev-util/colm/colm-0.14.7-r3.ebuild
+++ b/dev-util/colm/colm-0.14.7-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 toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="COmputer Language Manipulation"
HOMEPAGE="https://www.colm.net/open-source/colm/"
@@ -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 $(use_enable doc manual)
}