summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-01-08 14:28:42 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-01-09 23:00:27 +0900
commit61328fbf4de2cd49e9da41c8815387328d3d579b (patch)
tree4f99434baf0ec3e3bf3a33f3162b1a5775e61e61
parenttoolchain.eclass: Quote variables containing EPREFIX. (diff)
downloadgentoo-61328fbf4de2cd49e9da41c8815387328d3d579b.tar.gz
gentoo-61328fbf4de2cd49e9da41c8815387328d3d579b.tar.bz2
gentoo-61328fbf4de2cd49e9da41c8815387328d3d579b.zip
toolchain.eclass: remove trailing slash of D.
Bug: 531610
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 941e37b40cf9..0d8148ffadf3 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1727,7 +1727,7 @@ toolchain_src_install() {
# Now do the fun stripping stuff
env RESTRICT="" CHOST=${CHOST} prepstrip "${D}${BINPATH}"
is_crosscompile && \
- env RESTRICT="" CHOST=${CHOST} prepstrip "${D}/${HOSTLIBPATH}"
+ env RESTRICT="" CHOST=${CHOST} prepstrip "${D}${HOSTLIBPATH}"
env RESTRICT="" CHOST=${CTARGET} prepstrip "${D}${LIBPATH}"
# gcc used to install helper binaries in lib/ but then moved to libexec/
[[ -d ${D}${PREFIX}/libexec/gcc ]] && \