]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: rename -Ddebug to -Ddebug-extra
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 19 Aug 2018 17:11:30 +0000 (19:11 +0200)
committerFilipe Brandenburger <filbranden@google.com>
Mon, 20 Aug 2018 23:10:57 +0000 (16:10 -0700)
Meson added -Doptimization and -Ddebug options, which obviously causes
a conflict with our -Ddebug options. Let's rename it.

Fixes #9883.

meson.build
meson_options.txt

index f79ac4b12e78c32c72bacd68267843612f76100b..2209c935ad652422f81783990b97679af88c7492 100644 (file)
@@ -763,7 +763,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
 
 enable_debug_hashmap = false
 enable_debug_mmap_cache = false
-foreach name : get_option('debug')
+foreach name : get_option('debug-extra')
         if name == 'hashmap'
                 enable_debug_hashmap = true
         elif name == 'mmap-cache'
index e3140c8c1106f305001b27ed39910e1b3bc9c663..7b1f61bf464ba30ecb727f0f2928079c81640bd2 100644 (file)
@@ -45,7 +45,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
        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')