diff --git a/setup.py b/setup.py index 13202a5a0..1e5d11373 100755 --- a/setup.py +++ b/setup.py @@ -292,7 +292,7 @@ int main(void) { 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()