From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F941138330 for ; Sun, 2 Oct 2016 07:58:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AB9AE0B6C; Sun, 2 Oct 2016 07:58:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06185E0B6C for ; Sun, 2 Oct 2016 07:58:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79CD4340BDD for ; Sun, 2 Oct 2016 07:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 359F72497 for ; Sun, 2 Oct 2016 07:57:57 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1475395075.01762e9615c4aedcb4bc562c7a9d5fe2fd36dacb.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-3.9.0.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 01762e9615c4aedcb4bc562c7a9d5fe2fd36dacb X-VCS-Branch: master Date: Sun, 2 Oct 2016 07:57:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9b0641e2-dad4-4653-9c2f-cccba1a7c776 X-Archives-Hash: 092368cd220538f30781e400c6087eb5 commit: 01762e9615c4aedcb4bc562c7a9d5fe2fd36dacb Author: Michał Górny gentoo org> AuthorDate: Sun Oct 2 07:55:08 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 2 07:57:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01762e96 sys-devel/llvm: Backport target syms from sys-devel/clang sys-devel/llvm/llvm-3.9.0.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/sys-devel/llvm/llvm-3.9.0.ebuild b/sys-devel/llvm/llvm-3.9.0.ebuild index 8ead13e..4514dd0 100644 --- a/sys-devel/llvm/llvm-3.9.0.ebuild +++ b/sys-devel/llvm/llvm-3.9.0.ebuild @@ -454,16 +454,12 @@ src_install() { dosym "${i}-${clang_version}" "/usr/bin/${i}" done - # now create wrappers for all supported ABIs + # now create target symlinks for all supported ABIs for abi in $(get_all_abis); do - local abi_flags=$(get_abi_CFLAGS "${abi}") local abi_chost=$(get_abi_CHOST "${abi}") for i in "${clang_tools[@]}"; do - cat > "${T}"/wrapper.tmp <<-_EOF_ || die - #!${EPREFIX}/bin/sh - exec "${i}-${clang_version}" ${abi_flags} "\${@}" - _EOF_ - newbin "${T}"/wrapper.tmp "${abi_chost}-${i}-${clang_version}" + dosym "${i}-${clang_version}" \ + "/usr/bin/${abi_chost}-${i}-${clang_version}" dosym "${abi_chost}-${i}-${clang_version}" \ "/usr/bin/${abi_chost}-${i}" done