aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlexa Bilaniuk <obilaniu@gmail.com>2021-02-15 00:56:01 -0500
committerOlexa Bilaniuk <obilaniu@gmail.com>2021-02-16 14:46:17 -0500
commita2530373c742478f379793d541d9450599c4793c (patch)
treebe78796a0e1c6a091b14de6ce87ab91200a8428a
parent8b784e7008d4143f22f56d32290eb909d9fa5904 (diff)
downloadmeson-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.py4
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': [],