commit:     fadc1ef674faec877bbfd0967726553c537e8334
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 08:42:56 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 08:50:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadc1ef6

games-engines/love: disable strict aliasing

-fstrict-aliasing triggers build-time warnings on some (but not all)
systems so let's keep it consistent.

Closes: https://bugs.gentoo.org/858719
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 games-engines/love/love-11.4.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-engines/love/love-11.4.ebuild 
b/games-engines/love/love-11.4.ebuild
index fcc2e07df8e9..5cb3aaec9bc9 100644
--- a/games-engines/love/love-11.4.ebuild
+++ b/games-engines/love/love-11.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LUA_COMPAT=( lua5-{1..4} luajit )
 
-inherit lua-single xdg-utils
+inherit flag-o-matic lua-single xdg-utils
 
 if [[ ${PV} == 9999* ]]; then
        inherit git-r3
@@ -47,6 +47,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # Bug #858719
+       append-flags -fno-strict-aliasing
+
        local myeconfargs=(
                $(use_enable gme)
                --with-lua=$(usex lua_single_target_luajit luajit lua)

Reply via email to