diff options
author | Olexa Bilaniuk <obilaniu@gmail.com> | 2021-02-15 00:56:01 -0500 |
---|---|---|
committer | Olexa Bilaniuk <obilaniu@gmail.com> | 2021-02-16 14:46:17 -0500 |
commit | a2530373c742478f379793d541d9450599c4793c (patch) | |
tree | be78796a0e1c6a091b14de6ce87ab91200a8428a | |
parent | 8b784e7008d4143f22f56d32290eb909d9fa5904 (diff) | |
download | meson-a2530373c742478f379793d541d9450599c4793c.zip meson-a2530373c742478f379793d541d9450599c4793c.tar.gz meson-a2530373c742478f379793d541d9450599c4793c.tar.bz2 |
Add default debug flags for two configurations to NVCC.
-rw-r--r-- | mesonbuild/compilers/compilers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 1872253..8171758 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -175,8 +175,8 @@ class CompileCheckMode(enum.Enum): cuda_buildtype_args = {'plain': [], - 'debug': [], - 'debugoptimized': [], + 'debug': ['-g', '-G'], + 'debugoptimized': ['-g', '-lineinfo'], 'release': [], 'minsize': [], 'custom': [], |