This commit is contained in:
Kovid Goyal 2024-03-14 11:53:44 +05:30
parent 6c49066cde
commit 478fc766b6
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -89,7 +89,7 @@ class Env:
@property
def is_clang(self) -> bool:
return 'clang' in self.cc_version_string.split(maxsplit=1)[0].lower()
return 'clang' in self.cc_version_string.split()
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)