commit: 9e49c5ca961aa85703fbe41c84e108d212fd2a2b Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Apr 9 22:36:03 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Apr 9 22:37:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e49c5ca
sys-libs/glibc: fix strip path for cross-compiler's glibc Noticed as warnings on non-existing path when installing =cross-powerpc64le-foo-linux-gnu/glibc-2.27-r1 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-libs/glibc/glibc-2.27-r1.ebuild | 2 +- sys-libs/glibc/glibc-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-libs/glibc/glibc-2.27-r1.ebuild b/sys-libs/glibc/glibc-2.27-r1.ebuild index 523de8fcfa8..017249c804f 100644 --- a/sys-libs/glibc/glibc-2.27-r1.ebuild +++ b/sys-libs/glibc/glibc-2.27-r1.ebuild @@ -1324,7 +1324,7 @@ src_strip() { # if user has stripping enabled and does not have split debug turned on, # then leave the debugging sections in libpthread. if ! has nostrip ${FEATURES} && ! has splitdebug ${FEATURES} ; then - ${STRIP:-${CTARGET}-strip} --strip-debug "${ED}"/*/libpthread-*.so + ${STRIP:-${CTARGET}-strip} --strip-debug "${ED}"$(alt_prefix)/*/libpthread-*.so fi } diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 24e9f43bde8..100724cc841 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -1324,7 +1324,7 @@ src_strip() { # if user has stripping enabled and does not have split debug turned on, # then leave the debugging sections in libpthread. if ! has nostrip ${FEATURES} && ! has splitdebug ${FEATURES} ; then - ${STRIP:-${CTARGET}-strip} --strip-debug "${ED}"/*/libpthread-*.so + ${STRIP:-${CTARGET}-strip} --strip-debug "${ED}"$(alt_prefix)/*/libpthread-*.so fi }