From e8ee45986e1443d248d1830229fdaaf3c7d4bca0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 5 Mar 2024 06:49:17 +0000 Subject: [PATCH] dev-games/hawknl: filter LTO, no SA Dead upstream. Closes: https://bugs.gentoo.org/855311 Signed-off-by: Sam James --- dev-games/hawknl/hawknl-1.68-r3.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-games/hawknl/hawknl-1.68-r3.ebuild b/dev-games/hawknl/hawknl-1.68-r3.ebuild index ce4f26e97a9c4..4011847e391d2 100644 --- a/dev-games/hawknl/hawknl-1.68-r3.ebuild +++ b/dev-games/hawknl/hawknl-1.68-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 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 DESCRIPTION="A cross-platform network library designed for games" HOMEPAGE="http://www.hawksoft.com/hawknl/" @@ -20,6 +20,10 @@ PATCHES=( "${FILESDIR}"/${P}-build.patch ) src_configure() { tc-export CC + + # bug #855311 + append-flags -fno-strict-aliasing + filter-lto } src_compile() {