mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
app-misc/corectrl: check if gcc is in use
Signed-off-by: Charlie Quinet <w.iron.zombie@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user