app-emulation/aranym: mark as LTO-unsafe

It might not actually be unsafe, but the configure test errors out
because it tries to grep the output of a conftest, which in this case is
LTO bytecode.

Fixed in git master:
52c56bba30

Closes: https://bugs.gentoo.org/854510
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-03 15:27:51 -05:00
committed by Sam James
parent 1b2d058e12
commit 392870e92d

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools multibuild toolchain-funcs xdg
inherit autotools flag-o-matic multibuild toolchain-funcs xdg
DESCRIPTION="Atari Running on Any Machine, VM running Atari ST/TT/Falcon OS and TOS/GEM apps"
HOMEPAGE="https://aranym.github.io"
@@ -54,6 +54,13 @@ src_prepare() {
}
src_configure() {
# configure probe fatally errors out since it tries to peek at LTO'ed code using grep
# https://bugs.gentoo.org/854510
# https://github.com/aranym/aranym/commit/52c56bba30ddea27a0a7179da89cac1c71228de6
#
# Fixed in git master. Try removing this on the next version bump.
filter-lto
tc-export_build_env
export CC_FOR_BUILD=$(tc-getBUILD_CC) CXX_FOR_BUILD=$(tc-getBUILD_CXX)