app-misc/corectrl: check if gcc is in use

Signed-off-by: Charlie Quinet <w.iron.zombie@gmail.com>
This commit is contained in:
Charlie Quinet
2025-02-10 00:22:08 +01:00
parent deb204db16
commit 571592a44c
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit ecm linux-info optfeature
inherit ecm linux-info optfeature toolchain-funcs
DESCRIPTION="Core control application"
HOMEPAGE="https://gitlab.com/corectrl/corectrl"
@@ -52,7 +52,7 @@ RDEPEND="${COMMON_DEPEND}
CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS ~NETLINK_DIAG"
src_prepare() {
(clang++ --version 2>&1 | grep -q "libcxx") && eapply "${FILESDIR}/9999-remove_libstdcxxfs_dependency.patch"
! tc-is-gcc && (clang++ --version 2>&1 | grep -q "libcxx") && eapply "${FILESDIR}/9999-remove_libstdcxxfs_dependency.patch"
cmake_src_prepare
}