mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user