aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-20 14:38:52 -0500
committerRob Landley <rob@landley.net>2019-09-20 14:38:52 -0500
commitabddc3bb40da525852b2add695d0cb30d12a999d (patch)
tree1dbf37ee6a2aa1c6c3dde04cec0769761f35874f /scripts
parenta43497b523ae7db08908d3113f003c6df5e83aea (diff)
downloadtoybox-abddc3bb40da525852b2add695d0cb30d12a999d.tar.gz
ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index ec908ce1..538ba121 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -339,7 +339,7 @@ do_loudly $BUILD $LNKFILES $LINK || exit 1
if [ ! -z "$NOSTRIP" ] ||
! do_loudly ${CROSS_COMPILE}${STRIP} "$UNSTRIPPED" -o "$OUTNAME"
then
- echo "strip failed, using unstripped" &&
+ [ -z "$NOSTRIP" ] && echo "strip failed, using unstripped"
rm -f "$OUTNAME" &&
cp "$UNSTRIPPED" "$OUTNAME" ||
exit 1