commit:     993172f9951b4ccda8e3a1eb73fc0df9ed7872aa
Author:     Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
AuthorDate: Mon Jul 25 10:16:23 2022 +0000
Commit:     Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
CommitDate: Mon Jul 25 10:16:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=993172f9

games-fps/openspades: add -fno-strict-aliasing

Closes: https://bugs.gentoo.org/859997
Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr>

 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 e5ba59846..26a4e767b 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() {

Reply via email to