From: Benda Xu Date: Sun, 8 Jan 2017 05:28:42 +0000 (+0900) Subject: toolchain.eclass: remove trailing slash of D. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=61328fbf4de2cd49e9da41c8815387328d3d579b;p=gentoo.git toolchain.eclass: remove trailing slash of D. Bug: 531610 --- 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 ]] && \