summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-24 02:56:06 +0100
committerSam James <sam@gentoo.org>2022-07-24 17:24:00 +0100
commit65321f59f7f8ae5756dfc2685b942449152f31ad (patch)
tree7ee9ebcaf9bc05260fa1ba6ae5f244f6dc41f92c /games-emulation/melonds
parentsys-kernel/rt-sources: drop 4.19.246_p110, 5.10.120_p70, 5.15.49_p47 (diff)
downloadgentoo-65321f59f7f8ae5756dfc2685b942449152f31ad.tar.gz
gentoo-65321f59f7f8ae5756dfc2685b942449152f31ad.tar.bz2
gentoo-65321f59f7f8ae5756dfc2685b942449152f31ad.zip
games-emulation/melonds: disable strict aliasing
Bug: https://bugs.gentoo.org/858710 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation/melonds')
-rw-r--r--games-emulation/melonds/melonds-0.9.3-r2.ebuild2
-rw-r--r--games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild2
-rw-r--r--games-emulation/melonds/melonds-9999.ebuild4
3 files changed, 7 insertions, 1 deletions
diff --git a/games-emulation/melonds/melonds-0.9.3-r2.ebuild b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
index b1d97b5c25e1..9e88eb4d73ac 100644
--- a/games-emulation/melonds/melonds-0.9.3-r2.ebuild
+++ b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
@@ -59,6 +59,8 @@ src_prepare() {
rm -r ./src/teakra || die
filter-lto
+ append-flags -fno-strict-aliasing
+
cmake_src_prepare
}
diff --git a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
index 33b284219a0e..c782b4a45d52 100644
--- a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
+++ b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
@@ -59,6 +59,8 @@ src_prepare() {
rm -r ./src/teakra || die
filter-lto
+ append-flags -fno-strict-aliasing
+
cmake_src_prepare
}
diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 1ea9a4f84e6e..b3dda3e20a91 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -53,8 +53,10 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
Place them in ~/.config/melonDS
Those files can be found somewhere on the Internet ;-)"
-src_prepare(){
+src_prepare() {
filter-lto
+ append-flags -fno-strict-aliasing
+
cmake_src_prepare
}