From abddc3bb40da525852b2add695d0cb30d12a999d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 20 Sep 2019 14:38:52 -0500 Subject: ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP. --- 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 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 -- cgit v1.2.3