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

Closes: https://bugs.gentoo.org/859997
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
This commit is contained in:
Duje Mihanović
2022-07-25 12:16:23 +02:00
parent 9d81af7375
commit 993172f995

View File

@@ -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() {