mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 17:26:41 +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
|
case "${_type}" in
|
||||||
*script*executable*)
|
*script*executable*)
|
||||||
;;
|
;;
|
||||||
*executable*)
|
*executable*|*shared*object*)
|
||||||
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user