meson: s/debug/internal-debug/
PATCH 1/1 meson: s/debug/internal-debug/
From: Ville Syrjälä <[email protected]>
'debug' is a reserved option name since meson 0.48. So we must rename our own debug option to something else. Let's go with 'internal-debug'.
Signed-off-by Ville Syrjälä <[email protected]>
--- meson_options.txt | 2 +- src/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meson_options.txt +1 -1
@@ -36,7 +36,7 @@ option('use-create2', type : 'boolean', value : false, description : 'Enable use of create2 ioctl (experimental)') option('async-swap', type : 'boolean', value : false, description : 'Enable use of asynchronous swaps (experimental)') -option('debug', type : 'combo', value : 'no', choices : [ 'no', 'sync', 'memory', 'pixmap', 'full' ], +option('internal-debug', type : 'combo', value : 'no', choices : [ 'no', 'sync', 'memory', 'pixmap', 'full' ], description : 'Enable internal debugging') option('xorg-module-dir', type : 'string', value : '@libdir@/xorg/modules', description : 'Default xorg module directory')
src/meson.build +1 -1
@@ -68,7 +68,7 @@ if with_backlight_helper config.set('USE_BACKLIGHT_HELPER', 1) endif -debug = get_option('debug') +debug = get_option('internal-debug') if debug == 'sync' config.set('DEBUG_SYNC', 1) endif
Signature · 6 lines
2.18.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Ville Syrjala (2018-10-22 14:43:57)
Quoted 5 lines
From: Ville Syrjälä <[email protected]>
'debug' is a reserved option name since meson 0.48. So we must rename our own debug option to something else. Let's go with 'internal-debug'.
I don't even care to ask reserved for what. Ta,
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx