This commit is contained in:
Kovid Goyal
2024-02-25 19:46:18 +05:30
parent 9ce366fa7b
commit 99af9739b2

View File

@@ -90,7 +90,7 @@ class Env:
@property
def is_gcc(self) -> bool:
return 'gcc' in self.cc_version_string.split(maxsplit=1)[0]
return 'gcc' in self.cc_version_string.split(maxsplit=1)[0].lower()
def copy(self) -> 'Env':
ans = Env(self.cc, list(self.cppflags), list(self.cflags), list(self.ldflags), dict(self.library_paths), list(self.ldpaths), self.ccver)