fix build: Compile with gcc/g++ (version agnostic)

We don't really need a strict dependency on a compiler version, though
best practice is to use the latest gcc (12).
This commit is contained in:
John Colvin committed 2022-10-12 19:29:51 -04:00
1 parent 83ee97419c
commit e9ca7748a4
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ class CMakeConfigureCommand:
def _parse_compiler(arg: str or None):
'''Parses compiler input (from cli) and returns a tuple of c, cxx compilers respectively'''
known_compilers = {
'gcc': CMakeCompilerPair('gcc', 'gcc-11', 'g++-11'),
'gcc': CMakeCompilerPair('gcc', 'gcc', 'g++'),
'clang': CMakeCompilerPair('clang', 'clang', 'clang++')
}
if arg in known_compilers: