games-emulation/melonds: mark as strict-aliasing unsafe, LTO-unsafe

Closes: https://bugs.gentoo.org/959632
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-12 20:41:12 -04:00
parent e5ab300727
commit 6579c1e3f2
3 changed files with 21 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"