From e9681b463dc18bbb4d8ea949b970d070e3fa90ce Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 27 Apr 2021 12:04:34 -0700 Subject: hack: compilers/cython: hardcode python 3 not 2 --- mesonbuild/compilers/cython.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/compilers/cython.py') diff --git a/mesonbuild/compilers/cython.py b/mesonbuild/compilers/cython.py index 9266b01..ab8a96b 100644 --- a/mesonbuild/compilers/cython.py +++ b/mesonbuild/compilers/cython.py @@ -24,7 +24,8 @@ class CythonCompiler(Compiler): return False def get_always_args(self) -> T.List[str]: - return ['--fast-fail'] + # XXX: we need an option to control this? + return ['--fast-fail', '-3'] def get_werror_args(self) -> T.List[str]: return ['-Werror'] -- cgit v1.1