summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-30 12:24:51 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-30 16:32:55 +0200
commitc5d554e9a206b2e7e2549f98ea5ef637497689ee (patch)
tree8fc9139c612f1e7b0080940f10156d095e43088e /sys-devel
parentsys-devel/clang: Fix unused Z3_INCLUDE_DIR warning (diff)
downloadgentoo-c5d554e9a206b2e7e2549f98ea5ef637497689ee.tar.gz
gentoo-c5d554e9a206b2e7e2549f98ea5ef637497689ee.tar.bz2
gentoo-c5d554e9a206b2e7e2549f98ea5ef637497689ee.zip
sys-devel/clang: Fix unused LLVM_EXPERIMENTAL... warning
Revert back to using LLVM_TARGETS_TO_BUILD since LLVM_EXPERIMENTAL_TARGETS_TO_BUILD logic is not implemented in clang (or the installed LLVM CMake files). However, the target check is not implemented either, so we can just push the experimental targets into the regular variable.
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-9999.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 730d965f126c..5b40e22d5a54 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -122,10 +122,7 @@ multilib_src_configure() {
-DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
-DBUILD_SHARED_LIBS=ON
- # cheap hack: LLVM combines both anyway, and the only difference
- # is that the former list is explicitly verified at cmake time
- -DLLVM_TARGETS_TO_BUILD=""
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-DLLVM_BUILD_TESTS=$(usex test)
# these are not propagated reliably, so redefine them