aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers')
-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 b5f16ab..dd30184 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -157,6 +157,9 @@ __global__ void kernel (void) {
def get_debug_args(self, is_debug):
return cuda_debug_args[is_debug]
+ def get_werror_args(self):
+ return ['-Werror']
+
def get_linker_exelist(self):
return self.exelist[:]