mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -90,7 +90,7 @@ class Env:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_gcc(self) -> bool:
|
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':
|
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)
|
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