games-simulation/EmptyEpsilon: drop bogus GCC check

The ebuild doesn't depend on media-libs/libsfml but also, that error
generally appears when something C++ was built against newer GCC and
then you're trying to link against it using older GCC (=> older libstdc++).

Besides, <11 is masked and has been for a while.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-03-10 05:42:51 +00:00
parent 69d2fabf7f
commit 3346ee91c8

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake toolchain-funcs
inherit cmake
# basis_universal version
MY_BU_VER="1_15_update2"
@@ -46,18 +46,6 @@ PATCHES=(
"${FILESDIR}/${PN}-cmake-meshoptimizer.patch"
)
pkg_pretend() {
[[ ${MERGE_TYPE} == "binary" ]] && return
if tc-is-gcc; then
if [[ $(gcc-major-version) -lt 11 ]]; then
# ld: /usr/lib64/libsfml-audio.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.a4.29'
eerror "${PN} requires GCC >= 11. Run gcc-config to switch your default compiler."
die "Need at least GCC >= 11"
fi
fi
}
src_prepare() {
cmake_src_prepare