diff options
author | Chris Packham <judge.packham@gmail.com> | 2019-09-14 22:17:28 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2019-09-14 22:21:11 +1200 |
commit | 8ad4a8b83f3de8b7b283a845c5744147ba819c9d (patch) | |
tree | bceb5658aa6313fa06b374b75f4c4123ac161602 /scripts/build/internals.sh | |
parent | afaf7b9a25b5d77991002936be5c47fc5ff549de (diff) | |
download | crosstool-ng-8ad4a8b83f3de8b7b283a845c5744147ba819c9d.tar.gz crosstool-ng-8ad4a8b83f3de8b7b283a845c5744147ba819c9d.tar.bz2 crosstool-ng-8ad4a8b83f3de8b7b283a845c5744147ba819c9d.zip |
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>
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r-- | scripts/build/internals.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index 5d359979..821761c2 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -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 |