From c147c553072030cd06f55f6bde6360199bb1c9f9 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Fri, 24 Jun 2016 12:07:13 +0900 Subject: 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 -- cgit v1.2.3-65-gdbad