commit:     e8ee45986e1443d248d1830229fdaaf3c7d4bca0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 06:49:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 06:49:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ee4598

dev-games/hawknl: filter LTO, no SA

Dead upstream.

Closes: https://bugs.gentoo.org/855311
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 ce4f26e97a9c..4011847e391d 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() {

Reply via email to