1 |
commit: 01762e9615c4aedcb4bc562c7a9d5fe2fd36dacb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 2 07:55:08 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 2 07:57:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01762e96 |
7 |
|
8 |
sys-devel/llvm: Backport target syms from sys-devel/clang |
9 |
|
10 |
sys-devel/llvm/llvm-3.9.0.ebuild | 10 +++------- |
11 |
1 file changed, 3 insertions(+), 7 deletions(-) |
12 |
|
13 |
diff --git a/sys-devel/llvm/llvm-3.9.0.ebuild b/sys-devel/llvm/llvm-3.9.0.ebuild |
14 |
index 8ead13e..4514dd0 100644 |
15 |
--- a/sys-devel/llvm/llvm-3.9.0.ebuild |
16 |
+++ b/sys-devel/llvm/llvm-3.9.0.ebuild |
17 |
@@ -454,16 +454,12 @@ src_install() { |
18 |
dosym "${i}-${clang_version}" "/usr/bin/${i}" |
19 |
done |
20 |
|
21 |
- # now create wrappers for all supported ABIs |
22 |
+ # now create target symlinks for all supported ABIs |
23 |
for abi in $(get_all_abis); do |
24 |
- local abi_flags=$(get_abi_CFLAGS "${abi}") |
25 |
local abi_chost=$(get_abi_CHOST "${abi}") |
26 |
for i in "${clang_tools[@]}"; do |
27 |
- cat > "${T}"/wrapper.tmp <<-_EOF_ || die |
28 |
- #!${EPREFIX}/bin/sh |
29 |
- exec "${i}-${clang_version}" ${abi_flags} "\${@}" |
30 |
- _EOF_ |
31 |
- newbin "${T}"/wrapper.tmp "${abi_chost}-${i}-${clang_version}" |
32 |
+ dosym "${i}-${clang_version}" \ |
33 |
+ "/usr/bin/${abi_chost}-${i}-${clang_version}" |
34 |
dosym "${abi_chost}-${i}-${clang_version}" \ |
35 |
"/usr/bin/${abi_chost}-${i}" |
36 |
done |