commit:     65321f59f7f8ae5756dfc2685b942449152f31ad
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 01:56:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 16:24:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65321f59

games-emulation/melonds: disable strict aliasing

Bug: https://bugs.gentoo.org/858710
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/melonds/melonds-0.9.3-r2.ebuild    | 2 ++
 games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild | 2 ++
 games-emulation/melonds/melonds-9999.ebuild        | 4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

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
 }
 

Reply via email to