Browse Source

meson: rename -Ddebug to -Ddebug-extra

Meson added -Doptimization and -Ddebug options, which obviously causes
a conflict with our -Ddebug options. Let's rename it.

Closes #76.
tags/debian-devuan_common
Zbigniew Jędrzejewski-Szmek Sven Eden 2 years ago
parent
commit
0b47dabe18
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      meson.build
  2. +2
    -2
      meson_options.txt

+ 1
- 1
meson.build View File

@@ -895,7 +895,7 @@ enable_debug_mmap_cache = false
#if 1 /// additional elogind debug mode
enable_debug_elogind = false
#endif // 1
foreach name : get_option('debug')
foreach name : get_option('debug-extra')
if name == 'hashmap'
enable_debug_hashmap = true
elif name == 'mmap-cache'


+ 2
- 2
meson_options.txt View File

@@ -72,7 +72,7 @@ option('kexec-path', type : 'string', description : 'path to kexec')
# description : 'path to debug shell binary')
# option('debug-tty', type : 'string', value : '/dev/tty9',
# description : 'specify the tty device for debug shell')
# option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
# option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
# description : 'enable extra debugging')
# option('memory-accounting-default', type : 'boolean',
# description : 'enable MemoryAccounting= by default')
@@ -80,7 +80,7 @@ option('kexec-path', type : 'string', description : 'path to kexec')
option('valgrind', type : 'boolean', value : false,
description : 'do extra operations to avoid valgrind warnings')
#if 1 /// Add an extra debugging option for elogind
option('debug', type : 'array', choices : ['elogind', 'hashmap', 'mmap-cache'], value : [],
option('debug-extra', type : 'array', choices : ['elogind', 'hashmap', 'mmap-cache'], value : [],
description : 'enable extra debugging')
#endif // 1



Loading…
Cancel
Save