summaryrefslogtreecommitdiff
path: root/games-emulation/melonds
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-08-12 20:41:12 -0400
committerEli Schwartz <eschwartz@gentoo.org>2025-08-14 01:01:59 -0400
commit6579c1e3f27bdcf07cc200f0dc4011a8559eaff9 (patch)
treef23b15bb1641fb6f4b9a4865e113d770097458d9 /games-emulation/melonds
parente5ab300727fab5ddee35788321c4a26007256d61 (diff)
games-emulation/melonds: mark as strict-aliasing unsafe, LTO-unsafe
Closes: https://bugs.gentoo.org/959632 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'games-emulation/melonds')
-rw-r--r--games-emulation/melonds/melonds-1.0.ebuild8
-rw-r--r--games-emulation/melonds/melonds-1.0_rc.ebuild8
-rw-r--r--games-emulation/melonds/melonds-9999.ebuild8
3 files changed, 21 insertions, 3 deletions
diff --git a/games-emulation/melonds/melonds-1.0.ebuild b/games-emulation/melonds/melonds-1.0.ebuild
index 70eb307c79f6..38d25d364487 100644
--- a/games-emulation/melonds/melonds-1.0.ebuild
+++ b/games-emulation/melonds/melonds-1.0.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
REAL_PV="${PV/_rc/rc}"
REAL_P="${REAL_PN}-${REAL_PV}"
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
DESCRIPTION="Nintendo DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
Those files can be extracted from devices or found somewhere on the Internet ;-)"
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/959632
+ # https://github.com/melonDS-emu/melonDS/issues/2349
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local -a mycmakeargs=(
-DUSE_CCACHE="OFF"
diff --git a/games-emulation/melonds/melonds-1.0_rc.ebuild b/games-emulation/melonds/melonds-1.0_rc.ebuild
index 582290394b82..ef8370e74f5b 100644
--- a/games-emulation/melonds/melonds-1.0_rc.ebuild
+++ b/games-emulation/melonds/melonds-1.0_rc.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
REAL_PV="${PV/_rc/rc}"
REAL_P="${REAL_PN}-${REAL_PV}"
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
DESCRIPTION="Nintendo DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
Those files can be extracted from devices or found somewhere on the Internet ;-)"
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/959632
+ # https://github.com/melonDS-emu/melonDS/issues/2349
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local -a mycmakeargs=(
-DUSE_CCACHE="OFF"
diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 70eb307c79f6..38d25d364487 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -7,7 +7,7 @@ REAL_PN="melonDS"
REAL_PV="${PV/_rc/rc}"
REAL_P="${REAL_PN}-${REAL_PV}"
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
DESCRIPTION="Nintendo DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net
@@ -65,6 +65,12 @@ Place them in ~/.config/melonDS
Those files can be extracted from devices or found somewhere on the Internet ;-)"
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/959632
+ # https://github.com/melonDS-emu/melonDS/issues/2349
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local -a mycmakeargs=(
-DUSE_CCACHE="OFF"