summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-06 06:15:45 +0000
committerSam James <sam@gentoo.org>2024-03-06 06:15:45 +0000
commit4bac358c255aff8797ccf23cef5b928390e38695 (patch)
tree00422d282d8daba65382dba9f03ec06ecbd814c5 /dev-lang/snobol
parentgames-fps/darkplaces: filter LTO, no SA (diff)
downloadgentoo-4bac358c255aff8797ccf23cef5b928390e38695.tar.gz
gentoo-4bac358c255aff8797ccf23cef5b928390e38695.tar.bz2
gentoo-4bac358c255aff8797ccf23cef5b928390e38695.zip
dev-lang/snobol: filter LTO, no SA
Dead upstream HOMEPAGE. Closes: https://bugs.gentoo.org/855650 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/snobol')
-rw-r--r--dev-lang/snobol/snobol-1.4.1-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-lang/snobol/snobol-1.4.1-r1.ebuild b/dev-lang/snobol/snobol-1.4.1-r1.ebuild
index d213113e1228..2f1b55d3d530 100644
--- a/dev-lang/snobol/snobol-1.4.1-r1.ebuild
+++ b/dev-lang/snobol/snobol-1.4.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
MY_P="${PN}4-${PV}"
DESCRIPTION="Phil Budne's port of Macro SNOBOL4 in C, for modern machines"
@@ -25,6 +25,11 @@ PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
src_prepare() {
default
+
+ # bug #855650
+ append-flags -fno-strict-aliasing
+ filter-lto
+
sed -i -e '/autoconf/s:autoconf:./autoconf:g' configure || die
sed -i -e 's/$(INSTALL) -s/$(INSTALL)/' Makefile2.m4 || die
echo "ADD_OPT([${CFLAGS}])" >> local-config || die