bootstrap: Default to mesar for mescc build.

* configure.sh: Default to mesar for mescc build.
This commit is contained in:
Jan Nieuwenhuizen 2019-12-08 15:15:07 +01:00
parent 2250133322
commit 65e223ff9b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 5 additions and 3 deletions

View File

@ -58,7 +58,6 @@ prefix=${prefix-/usr/local}
mes_libc=${mes_libc-mes}
courageous=${courageous-false}
AR=${AR-$(command -v ar)} || true
BASH=${BASH-$(command -v bash)}
BLOOD_ELF=${BLOOD_ELF-$(command -v blood-elf)}
CC=${CC-$(command -v gcc)} || true
@ -213,14 +212,17 @@ case "$mes_cpu" in
mes_bits=32;;
esac
#
if $CC --version | grep gcc; then #2>/dev/null; then
if $CC --version | grep gcc; then
compiler=gcc
elif $CC --version | grep tcc; then #2>/dev/null; then
elif $CC --version | grep tcc; then
compiler=gcc
else
compiler=mescc
AR=${AR-$PWD/scripts/mesar}
fi
AR=${AR-$(command -v ar)} || true
mes_system=$mes_cpu-$mes_kernel-mes
mkdir -p scripts