dev-lang/snobol: filter LTO, no SA

Dead upstream HOMEPAGE.

Closes: https://bugs.gentoo.org/855650
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2024-03-06 06:15:45 +00:00
parent 036ffaac92
commit 4bac358c25
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
1 changed files with 7 additions and 2 deletions

View File

@ -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