From 432581476163f1eaaddfa0f125039284740ad976 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 11 May 2017 12:00:22 -0700 Subject: [PATCH] scripts/detect_cc.sh: make C vs C++ warning non-fatal Even if we detect that $CC and $CXX are different types, we should continue so that mk/cc.mk is still generated. Change-Id: I551e2d9149ea982d3c9973dfc5f2557f12fbc337 Signed-off-by: Daniel Verkamp --- scripts/detect_cc.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/detect_cc.sh b/scripts/detect_cc.sh index c9052f2e7..b618186e9 100755 --- a/scripts/detect_cc.sh +++ b/scripts/detect_cc.sh @@ -59,7 +59,6 @@ LD_TYPE=$(ld -v 2>&1 | awk '{print $2}') if [ "$CC_TYPE" != "$CXX_TYPE" ]; then err "C compiler is $CC_TYPE but C++ compiler is $CXX_TYPE" err "This may result in errors" - exit 1 fi CCAR="ar"