From 993172f9951b4ccda8e3a1eb73fc0df9ed7872aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= Date: Mon, 25 Jul 2022 12:16:23 +0200 Subject: [PATCH] games-fps/openspades: add -fno-strict-aliasing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/859997 Signed-off-by: Duje Mihanović --- games-fps/openspades/openspades-0.1.3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games-fps/openspades/openspades-0.1.3.ebuild b/games-fps/openspades/openspades-0.1.3.ebuild index e5ba59846c..26a4e767b9 100644 --- a/games-fps/openspades/openspades-0.1.3.ebuild +++ b/games-fps/openspades/openspades-0.1.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake xdg +inherit cmake xdg flag-o-matic PAK_REV=33 @@ -53,6 +53,9 @@ src_prepare() { # Without this, CMake will error out because it will try to download the zip # during building. touch "${BUILD_DIR}/Resources/OpenSpadesDevPackage-r${PAK_REV}.zip" + + append-cflags -fno-strict-aliasing + append-cxxflags -fno-strict-aliasing } src_configure() {