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 67C2F13832E for ; Thu, 21 Jul 2016 02:23:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B88C921C2B5; Thu, 21 Jul 2016 02:23:17 +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 03B0A21C2B2 for ; Thu, 21 Jul 2016 02:23:16 +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 6A43A340DF0 for ; Thu, 21 Jul 2016 02:23:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 046E12430 for ; Thu, 21 Jul 2016 02:23:10 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1466737633.c147c553072030cd06f55f6bde6360199bb1c9f9.heroxbd@gentoo> Subject: [gentoo-commits] dev/heroxbd:master commit in: eclass/ X-VCS-Repository: dev/heroxbd X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: c147c553072030cd06f55f6bde6360199bb1c9f9 X-VCS-Branch: master Date: Thu, 21 Jul 2016 02:23:10 +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: 26328b6a-5c5b-4670-9e7a-66b09fcabf17 X-Archives-Hash: 299e7fc69d9b26dc93d3059c41a58831 Message-ID: <20160721022310.OxuQ-jlTyIe5nw2vE2JU8ABCLL-vyNDSdRRSmvtSWJ0@z> commit: c147c553072030cd06f55f6bde6360199bb1c9f9 Author: Benda Xu gentoo org> AuthorDate: Fri Jun 24 03:07:13 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Fri Jun 24 03:07:13 2016 +0000 URL: https://gitweb.gentoo.org/dev/heroxbd.git/commit/?id=c147c553 toolchain.eclass: prefixify cross compile parts. eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 44ec160..b6df2da 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1833,8 +1833,8 @@ gcc_movelibs() { # that you want to link against when building tools rather than building # code to run on the target. if tc_version_is_at_least 5 && is_crosscompile ; then - dodir "${HOSTLIBPATH}" - mv "${D}"/usr/$(get_libdir)/libcc1* "${D}${HOSTLIBPATH}" || die + dodir "${HOSTLIBPATH#${EPREFIX}}" + mv "${ED}"/usr/$(get_libdir)/libcc1* "${D}${HOSTLIBPATH}" || die fi # For all the libs that are built for CTARGET, move them into the