Fix gcc detection
This commit is contained in:
parent
f16c2a0d67
commit
ac984d05f2
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ def cc_version_string(self) -> str:
|
|||
|
||||
@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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue