testsh2: allow compiler fallback to gcc
. lets test work in 'pure DESTDIR' environment Change-Id: If7d45f01f20bc6369455d706b5ad47d36946fce3
This commit is contained in:
parent
b6d951df17
commit
d17674ff49
|
|
@ -20,7 +20,13 @@ OLDPWD=`pwd`
|
||||||
export OLDPWD
|
export OLDPWD
|
||||||
|
|
||||||
# CC="exec cc -wo -F" # nonstandard flags for ACK :-(
|
# CC="exec cc -wo -F" # nonstandard flags for ACK :-(
|
||||||
CC=clang
|
if which clang 2>/dev/null
|
||||||
|
then CC=clang
|
||||||
|
elif which gcc 2>/dev/null
|
||||||
|
then CC=gcc
|
||||||
|
else echo "Can't find a compiler"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
ARCH=`arch`
|
ARCH=`arch`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user