summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-20 10:09:17 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-20 11:09:06 +0100
commit761f99ae251bbedafe1ad076b77023772291dc44 (patch)
tree41809e47c18f84f3fe911374dc1424e85cf11330 /sys-devel/clang-runtime/clang-runtime-9999.ebuild
parentprofiles: Drop obsolete kde-apps/okular[dpi] nask (diff)
downloadgentoo-761f99ae251bbedafe1ad076b77023772291dc44.tar.gz
gentoo-761f99ae251bbedafe1ad076b77023772291dc44.tar.bz2
gentoo-761f99ae251bbedafe1ad076b77023772291dc44.zip
sys-devel/clang-runtime: Add multilib propagation flags
Add multilib flags and use them to propagate ABI support to runtime packages. This makes it possible to reliably enforce support for a particular ABI via the central package.
Diffstat (limited to 'sys-devel/clang-runtime/clang-runtime-9999.ebuild')
-rw-r--r--sys-devel/clang-runtime/clang-runtime-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-devel/clang-runtime/clang-runtime-9999.ebuild b/sys-devel/clang-runtime/clang-runtime-9999.ebuild
index a29a5419eb1b..d224ca01584b 100644
--- a/sys-devel/clang-runtime/clang-runtime-9999.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-9999.ebuild
@@ -4,6 +4,8 @@
EAPI=6
+inherit multilib-build
+
DESCRIPTION="Meta-ebuild for clang runtime libraries"
HOMEPAGE="http://clang.llvm.org/"
SRC_URI=""
@@ -18,7 +20,7 @@ RDEPEND="
~sys-libs/compiler-rt-${PV}
sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} )
)
- libcxx? ( ~sys-libs/libcxx-${PV} )
- openmp? ( ~sys-libs/libomp-${PV} )"
+ libcxx? ( ~sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+ openmp? ( ~sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"
REQUIRED_USE="sanitize? ( compiler-rt )"