aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFrancesco Valla <valla.francesco@gmail.com>2018-06-02 16:09:22 +0200
committerRob Landley <rob@landley.net>2018-06-03 12:44:28 -0500
commit5efc1674a81ce1fd423ca8aac2ce3c02144751fc (patch)
tree7c602f61c14387bc3ba6e6000f27a3d2a46e4b84 /configure
parent1e90addea792297259803028911ca88462e97732 (diff)
downloadtoybox-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 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 14c9c659..a9b88976 100755
--- a/configure
+++ b/configure
@@ -28,6 +28,7 @@ CFLAGS="$CFLAGS -funsigned-char"
# you call scripts/make.sh and friends directly.
[ -z "$CC" ] && CC=cc
+[ -z "$STRIP" ] & STRIP=strip
# If HOSTCC needs CFLAGS or LDFLAGS, just add them to the variable
# ala HOSTCC="blah-cc --static"