From 5efc1674a81ce1fd423ca8aac2ce3c02144751fc Mon Sep 17 00:00:00 2001 From: Francesco Valla Date: Sat, 2 Jun 2018 16:09:22 +0200 Subject: call strip as $STRIP This is useful e.g. for cross toolchains that define $CC and $STRIP instead of $CROSS_COMPILE. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3