From: Zbigniew Jędrzejewski-Szmek Date: Sun, 19 Aug 2018 17:11:30 +0000 (+0200) Subject: meson: rename -Ddebug to -Ddebug-extra X-Git-Tag: v240~826 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f6b442a78d0b485f044742ad90b2e8271b4e68e;p=platform%2Fupstream%2Fsystemd.git 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. --- diff --git a/meson.build b/meson.build index f79ac4b..2209c93 100644 --- a/meson.build +++ b/meson.build @@ -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' diff --git a/meson_options.txt b/meson_options.txt index e3140c8..7b1f61b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')