games-kids/memonix: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/858782
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-25 00:47:55 -04:00
committed by Sam James
parent 0012503b0d
commit 1f7d2ab539

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake desktop wrapper
inherit cmake desktop flag-o-matic wrapper
DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack"
HOMEPAGE="https://www.viewizard.com/memonix/"
@@ -21,6 +21,17 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/858782
#
# Upstream site has been taken down for a long time.
append-flags -fno-strict-aliasing
filter-lto
cmake_src_configure
}
src_install() {
exeinto /usr/"$(get_libdir)"
doexe ../${P}_build/Memonix