From 65321f59f7f8ae5756dfc2685b942449152f31ad Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 24 Jul 2022 02:56:06 +0100 Subject: [PATCH] games-emulation/melonds: disable strict aliasing Bug: https://bugs.gentoo.org/858710 Signed-off-by: Sam James --- 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 b1d97b5c25e13..9e88eb4d73ac6 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 33b284219a0ed..c782b4a45d524 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 1ea9a4f84e6e5..b3dda3e20a912 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 }