Fix for missing 'CC' compiler in configure script (fixes #856).

This commit is contained in:
Stephen Anthony 2021-12-18 12:47:53 -03:30
parent 181e02e3a5
commit 1f8666bde5
1 changed files with 6 additions and 0 deletions

6
configure vendored
View File

@ -895,6 +895,12 @@ if test "$_build_release" = no ; then
_build_release=
fi
# Workaround until we deal with autodetection of C compiler properly
# Or we remove C files from Stella entirely, by making them C++
if test -z "$CC"; then
CC=cc
fi
echo "Creating config.mak"
cat > config.mak << EOF
# -------- Generated by configure -----------