Old python compat
This commit is contained in:
parent
f4b6cc6628
commit
9289ebf9c9
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -292,7 +292,7 @@ def detect_librsync(cc: List[str], cflags: List[str], ldflags: List[str]) -> str
|
|||
|
||||
def is_gcc(cc: Iterable[str]) -> bool:
|
||||
|
||||
@lru_cache
|
||||
@lru_cache()
|
||||
def f(cc: Tuple[str]) -> bool:
|
||||
raw = subprocess.check_output(cc + ('--version',)).decode('utf-8').splitlines()[0]
|
||||
return '(GCC)' in raw.split()
|
||||
|
|
|
|||
Loading…
Reference in a new issue