diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-12 23:51:25 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-13 10:29:10 +0200 |
commit | 25ae7f95bd814e86d59d73996ed4d58150a26fa9 (patch) | |
tree | 1a80667c84d9a1d42c86d8955b74415cc38ba867 /mesonbuild/compilers/cuda.py | |
parent | 82e4cb7731e59237746e480f9611700f1d4fda76 (diff) | |
download | meson-25ae7f95bd814e86d59d73996ed4d58150a26fa9.zip meson-25ae7f95bd814e86d59d73996ed4d58150a26fa9.tar.gz meson-25ae7f95bd814e86d59d73996ed4d58150a26fa9.tar.bz2 |
Add werror flags to nvcc. Closes #4911.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r-- | mesonbuild/compilers/cuda.py | 3 |
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[:] |