From dff6fe7ef81f3d4119f02e8275e7212b755ccb0a Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 18 Dec 2021 12:47:53 -0330 Subject: [PATCH] Fix for missing 'CC' compiler in configure script (fixes #856). --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 0101d2567..9343873c0 100755 --- a/configure +++ b/configure @@ -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 -----------