aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 12:16:23 +0200
committerDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 12:16:23 +0200
commit993172f9951b4ccda8e3a1eb73fc0df9ed7872aa (patch)
tree8ac1703747cce78076d76a418a5f17ba0450f664
parentsys-power/tlp: use optfeature (diff)
downloadguru-993172f9951b4ccda8e3a1eb73fc0df9ed7872aa.tar.gz
guru-993172f9951b4ccda8e3a1eb73fc0df9ed7872aa.tar.bz2
guru-993172f9951b4ccda8e3a1eb73fc0df9ed7872aa.zip
games-fps/openspades: add -fno-strict-aliasing
Closes: https://bugs.gentoo.org/859997 Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
-rw-r--r--games-fps/openspades/openspades-0.1.3.ebuild5
1 files changed, 4 insertions, 1 deletions
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() {