diff options
author | Francesco Valla <valla.francesco@gmail.com> | 2018-06-02 16:09:22 +0200 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-06-03 12:44:28 -0500 |
commit | 5efc1674a81ce1fd423ca8aac2ce3c02144751fc (patch) | |
tree | 7c602f61c14387bc3ba6e6000f27a3d2a46e4b84 /scripts | |
parent | 1e90addea792297259803028911ca88462e97732 (diff) | |
download | toybox-5efc1674a81ce1fd423ca8aac2ce3c02144751fc.tar.gz |
call strip as $STRIP
This is useful e.g. for cross toolchains that define $CC and $STRIP
instead of $CROSS_COMPILE.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 1119ed9d..72d53709 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -368,7 +368,7 @@ done do_loudly $BUILD $LNKFILES $LINK || exit 1 if [ ! -z "$NOSTRIP" ] || - ! do_loudly ${CROSS_COMPILE}strip "$UNSTRIPPED" -o "$OUTNAME" + ! do_loudly ${CROSS_COMPILE}${STRIP} "$UNSTRIPPED" -o "$OUTNAME" then echo "strip failed, using unstripped" && cp "$UNSTRIPPED" "$OUTNAME" || exit 1 |