mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Fix gcc detection
This commit is contained in:
@@ -90,7 +90,7 @@ class Env:
|
||||
|
||||
@property
|
||||
def is_gcc(self) -> bool:
|
||||
return '(GCC)' in self.cc_version_string
|
||||
return self.cc_version_string.startswith('gcc ')
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user