mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
build/internals.sh: Handle pie executables
Fixes: #887 On some systems the file command identifies a pie executable as a shared object. Update do_finish() to handle this case so that they are stripped as well. Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
afaf7b9a25
commit
8ad4a8b83f
@ -83,7 +83,7 @@ do_finish() {
|
||||
case "${_type}" in
|
||||
*script*executable*)
|
||||
;;
|
||||
*executable*)
|
||||
*executable*|*shared*object*)
|
||||
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user