From 9e49c5ca961aa85703fbe41c84e108d212fd2a2b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 9 Apr 2018 23:36:03 +0100 Subject: 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(-) (limited to 'sys-libs/glibc') diff --git a/sys-libs/glibc/glibc-2.27-r1.ebuild b/sys-libs/glibc/glibc-2.27-r1.ebuild index 523de8fcfa8d..017249c804fe 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 24e9f43bde8f..100724cc8416 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 } -- cgit v1.2.3-65-gdbad