mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
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. Fixes #9883.
This commit is contained in:
parent
a9e241dcb3
commit
8f6b442a78
|
@ -763,7 +763,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
|
||||||
|
|
||||||
enable_debug_hashmap = false
|
enable_debug_hashmap = false
|
||||||
enable_debug_mmap_cache = false
|
enable_debug_mmap_cache = false
|
||||||
foreach name : get_option('debug')
|
foreach name : get_option('debug-extra')
|
||||||
if name == 'hashmap'
|
if name == 'hashmap'
|
||||||
enable_debug_hashmap = true
|
enable_debug_hashmap = true
|
||||||
elif name == 'mmap-cache'
|
elif name == 'mmap-cache'
|
||||||
|
|
|
@ -45,7 +45,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
|
||||||
description : 'path to debug shell binary')
|
description : 'path to debug shell binary')
|
||||||
option('debug-tty', type : 'string', value : '/dev/tty9',
|
option('debug-tty', type : 'string', value : '/dev/tty9',
|
||||||
description : 'specify the tty device for debug shell')
|
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')
|
description : 'enable extra debugging')
|
||||||
option('memory-accounting-default', type : 'boolean',
|
option('memory-accounting-default', type : 'boolean',
|
||||||
description : 'enable MemoryAccounting= by default')
|
description : 'enable MemoryAccounting= by default')
|
||||||
|
|
Loading…
Reference in a new issue