commit:     c147c553072030cd06f55f6bde6360199bb1c9f9
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 03:07:13 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 03:07:13 2016 +0000
URL:        https://gitweb.gentoo.org/proj/android.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

Reply via email to