Skip to content

Commit

Permalink
meson: rename -Ddebug to -Ddebug-extra
Browse files Browse the repository at this point in the history
Meson added -Doptimization and -Ddebug options, which obviously causes
a conflict with our -Ddebug options. Let's rename it.

Fixes #76.
  • Loading branch information
keszybz authored and Yamakuzure committed Sep 26, 2018
1 parent 57991b3 commit f978b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meson.build
Expand Up @@ -737,7 +737,7 @@ conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
# substs.set('DEBUGTTY', get_option('debug-tty'))
#endif // 0

debug = get_option('debug')
debug = get_option('debug-extra')
enable_debug_hashmap = false
enable_debug_mmap_cache = false
#if 1 /// additional elogind debug mode
Expand Down
4 changes: 2 additions & 2 deletions meson_options.txt
Expand Up @@ -53,10 +53,10 @@ 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 : 'string',
# option('debug-extra', type : 'string',
# description : 'enable extra debugging (hashmap,mmap-cache)')
#else
option('debug', type : 'string',
option('debug-extra', type : 'string',
description : 'enable extra debugging (elogind,hashmap,mmap-cache)')
#endif // 0

Expand Down

0 comments on commit f978b3a

Please sign in to comment.