mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
games-emulation/rmg: mark as LTO-unsafe, strict-aliasing unsafe
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -27,7 +27,7 @@ CRATES="
|
||||
winapi@0.3.9
|
||||
"
|
||||
|
||||
inherit cargo cmake xdg
|
||||
inherit cargo cmake flag-o-matic xdg
|
||||
|
||||
MY_PN="${PN^^}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
@@ -117,6 +117,13 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://github.com/gonetz/GLideN64/issues/2877
|
||||
#
|
||||
# Disable strict-aliasing until its handled upstream.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local mycmakeargs=(
|
||||
|
||||
@@ -27,7 +27,7 @@ CRATES="
|
||||
winapi@0.3.9
|
||||
"
|
||||
|
||||
inherit cargo cmake xdg
|
||||
inherit cargo cmake flag-o-matic xdg
|
||||
|
||||
MY_PN="${PN^^}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
@@ -117,6 +117,13 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://github.com/gonetz/GLideN64/issues/2877
|
||||
#
|
||||
# Disable strict-aliasing until its handled upstream.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local mycmakeargs=(
|
||||
|
||||
Reference in New Issue
Block a user