summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-10-14 07:57:44 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-10-14 07:58:05 +0100
commit650d70eb5d91265329e2f730bc1aed0fa5863db6 (patch)
treeec97371435e35cf96f2090296974632588fa3020 /sys-libs/glibc/glibc-2.25-r11.ebuild
parentsys-kernel/git-sources: Automated version bump to 5.4_rc3. (diff)
downloadgentoo-650d70eb5d91265329e2f730bc1aed0fa5863db6.tar.gz
gentoo-650d70eb5d91265329e2f730bc1aed0fa5863db6.tar.bz2
gentoo-650d70eb5d91265329e2f730bc1aed0fa5863db6.zip
sys-libs/glibc: disable stripping for cross-glibc
commit e14229b10b513a164f8379ff14cc8c644c071f27 dropped special stripping and relied on standard ${CHOST}-strip. Unfortunately one special case wa missing: cross-*/glibc ebuilds use ${CTARGET} as a target and are installed into the host. That causes ${CHOST}-strip to be called on ${CTARGET} binaries. If multitarget is not enabled strip either breaks such bianries or makes them untouched. Disable tripping until we migrated off off cross-*/glibc ebuilds. Reported-by: Johannes Geiss Closes: https://bugs.gentoo.org/697428 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-2.25-r11.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.25-r11.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.25-r11.ebuild b/sys-libs/glibc/glibc-2.25-r11.ebuild
index e2a0f9131bbc..4b3ac83a890b 100644
--- a/sys-libs/glibc/glibc-2.25-r11.ebuild
+++ b/sys-libs/glibc/glibc-2.25-r11.ebuild
@@ -51,6 +51,9 @@ export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
if [[ ${CATEGORY} == cross-* ]] ; then
export CTARGET=${CATEGORY#cross-}
+ # portage's attempt to strip breaks non-native bianries
+ # at least on arm: bug #697428
+ RESTRICT=strip
fi
fi