1 |
commit: eacd92adc31cc1f4d66d1905822dad68f57bc3be |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 1 09:06:54 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 1 09:15:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacd92ad |
7 |
|
8 |
dev-libs/libclc: Fix selecting multiple targets |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild | 3 ++- |
13 |
1 file changed, 2 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild |
16 |
index 16eb2901cc6..7d1b7558a90 100644 |
17 |
--- a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild |
18 |
+++ b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild |
19 |
@@ -45,8 +45,9 @@ src_configure() { |
20 |
# TODO: spirv |
21 |
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!" |
22 |
|
23 |
+ libclc_targets=${libclc_targets[*]} |
24 |
local mycmakeargs=( |
25 |
- -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets[*]}" |
26 |
+ -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" |
27 |
-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" |
28 |
) |
29 |
cmake_src_configure |