diff options
author | 2016-06-24 12:07:13 +0900 | |
---|---|---|
committer | 2016-06-24 12:07:13 +0900 | |
commit | c147c553072030cd06f55f6bde6360199bb1c9f9 (patch) | |
tree | 382361770b4ece5c790a892ee8967ac7db59ac19 | |
parent | sys-process/lsof: merged. (diff) | |
download | heroxbd-c147c553072030cd06f55f6bde6360199bb1c9f9.tar.gz heroxbd-c147c553072030cd06f55f6bde6360199bb1c9f9.tar.bz2 heroxbd-c147c553072030cd06f55f6bde6360199bb1c9f9.zip |
toolchain.eclass: prefixify cross compile parts.
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files 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 |