aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-04-27 12:04:34 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-07 09:15:13 -0700
commite9681b463dc18bbb4d8ea949b970d070e3fa90ce (patch)
tree258363ba5e0a04390b38c603f89e79f354ab906f /mesonbuild/compilers
parent79e50caa7f86595cdee27efc343d7eca74ae075d (diff)
downloadmeson-e9681b463dc18bbb4d8ea949b970d070e3fa90ce.zip
meson-e9681b463dc18bbb4d8ea949b970d070e3fa90ce.tar.gz
meson-e9681b463dc18bbb4d8ea949b970d070e3fa90ce.tar.bz2
hack: compilers/cython: hardcode python 3 not 2
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/cython.py3
1 files changed, 2 insertions, 1 deletions
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']