toolchain.eclass: enable selective stipping for EAPI=7
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 19 Oct 2019 21:10:52 +0000 (22:10 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 19 Oct 2019 21:20:35 +0000 (22:20 +0100)
commitcd38a4bf6a3a966d4066645279dbbe118823368f
tree2e7845d5545869ec0284acc229bd9a9d5236b692
parentb540ee3a734750265d5ca4a463a97a5d508ca3ff
toolchain.eclass: enable selective stipping for EAPI=7

Before the change we stripped no binaries or object files
for gcc on any EAPI.

After the change we strip all native binaries, libraries
and object files (only on EAPI=7).

Non-native binaries (cross-compiler case) is skipped by
means of 'dostrip -x'.

Bug: https://bugs.gentoo.org/686512
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain.eclass