Cuda: Pass -DNDEBUG through

pull/8994/head
David Seifert 4 years ago
parent 9afd589c8b
commit 631abce82f
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
  1. 3
      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()

Loading…
Cancel
Save