diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-10-14 07:57:44 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-10-14 07:58:05 +0100 |
commit | 650d70eb5d91265329e2f730bc1aed0fa5863db6 (patch) | |
tree | ec97371435e35cf96f2090296974632588fa3020 /sys-libs/glibc/glibc-2.19-r2.ebuild | |
parent | sys-kernel/git-sources: Automated version bump to 5.4_rc3. (diff) | |
download | gentoo-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.19-r2.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.19-r2.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.19-r2.ebuild b/sys-libs/glibc/glibc-2.19-r2.ebuild index 0fedbb8e9409..20b236f90376 100644 --- a/sys-libs/glibc/glibc-2.19-r2.ebuild +++ b/sys-libs/glibc/glibc-2.19-r2.ebuild @@ -56,6 +56,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 |