aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-04-17 04:06:38 +0200
committerZac Medico <zmedico@gentoo.org>2018-04-16 19:11:19 -0700
commitae6d6aa22d074c04cd9caefe1ca02bf615bfd86f (patch)
treee67a57c5f38e39cfc5b732245415967f0eb49396 /bin/estrip
parentEventLoop._idle_add: use thread-safe deque append (diff)
downloadportage-ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f.tar.gz
portage-ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f.tar.bz2
portage-ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f.zip
estrip, install-qa-check.d/10ignored-flags: fix bug 653352
Update detection of ELF files to work with >=sys-apps/file-5.33. Bug: https://bugs.gentoo.org/653352
Diffstat (limited to 'bin/estrip')
-rwxr-xr-xbin/estrip3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/estrip b/bin/estrip
index 030d9e8bf..5709b862c 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -427,7 +427,8 @@ do
${STRIP} -g "${x}"
fi
fi
- elif [[ ${f} == *"SB executable"* || ${f} == *"SB shared object"* ]] ; then
+ elif [[ ${f} == *"SB executable"* || ${f} == *"SB pie executable"* ||
+ ${f} == *"SB shared object"* ]] ; then
process_elf "${x}" "${inode_link}" ${PORTAGE_STRIP_FLAGS}
elif [[ ${f} == *"SB relocatable"* ]] ; then
process_elf "${x}" "${inode_link}" ${SAFE_STRIP_FLAGS}