Commit 43258147 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 6c0d4c55
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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"