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 <daniel.verkamp@intel.com>
This commit is contained in:
parent
6c0d4c552b
commit
4325814761
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user