aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-07-18 23:14:34 +0200
committerDavid Seifert <soap@gentoo.org>2021-07-18 23:14:34 +0200
commit631abce82f5d554b1511d5c7bd63de558f3184cb (patch)
tree481bd83bea3c90d81b0cf12d0842557239187cec /mesonbuild/compilers/cuda.py
parent9afd589c8b77d1e9d279813a71ec1451476a0be8 (diff)
downloadmeson-631abce82f5d554b1511d5c7bd63de558f3184cb.zip
meson-631abce82f5d554b1511d5c7bd63de558f3184cb.tar.gz
meson-631abce82f5d554b1511d5c7bd63de558f3184cb.tar.bz2
Cuda: Pass -DNDEBUG through
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index 4a14ae9..3bde1ce 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -759,3 +759,6 @@ class CudaCompiler(Compiler):
return [self._shield_nvcc_list_arg('-ccbin='+ccbindir, False)]
else:
return []
+
+ def get_disable_assert_args(self) -> T.List[str]:
+ return self.host_compiler.get_disable_assert_args()