diff --git a/SConstruct b/SConstruct index 1dd2fe121e1..0923aa4cbae 100644 --- a/SConstruct +++ b/SConstruct @@ -866,8 +866,9 @@ elif "clang" in env.subst("$CC"): config.select("clang") else: - logger.error(f"Unrecognized C compiler {env['CC']!r}") - sys.exit(1) + # Assume a GCC compatible compiler if nothing else + config.select("gcc") + if env["OS"] == "Windows": config.select("Windows")