summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-03 21:00:51 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-03 21:39:17 +0200
commit9bc4f85609c4c642717d5d93ddb0ae47772d9a51 (patch)
treed21cc4ebd7a9a867312f71e0eb370d1646cccc35 /sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
parentprofiles/arch/arm64: Mask sys-devel/clang-runtime[crt] (diff)
downloadgentoo-9bc4f85609c4c642717d5d93ddb0ae47772d9a51.tar.gz
gentoo-9bc4f85609c4c642717d5d93ddb0ae47772d9a51.tar.bz2
gentoo-9bc4f85609c4c642717d5d93ddb0ae47772d9a51.zip
sys-devel/clang-runtime: Add USE=crt for (non-GCC) crt*.o files
Diffstat (limited to 'sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild')
-rw-r--r--sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild b/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
index 333b352d98bd..65baa4349d60 100644
--- a/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
@@ -13,13 +13,19 @@ LICENSE="metapackage"
# Note: keep it matching clang-9999 version
SLOT="6.0.0"
KEYWORDS=""
-IUSE="+compiler-rt libcxx openmp +sanitize"
+IUSE="+compiler-rt crt libcxx openmp +sanitize"
RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}
sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} )
)
+ crt? (
+ || (
+ sys-libs/netbsd-csu[${MULTILIB_USEDEP}]
+ sys-freebsd/freebsd-lib[${MULTILIB_USEDEP}]
+ )
+ )
libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"