build: add -Ddeprecated=[true|false] to control deprecated symbols
Instead of using CFLAGS="-DMM_DISABLE_DEPRECATED" meson ... which doesn't handle -Werror very well let's make it an explicit option. Defaults to true, and autodetects previous CFLAGS mechanism to preserve backwards compatibility. Signed-off-by: Dan Williams <dan@ioncontrol.co>
This commit is contained in:
@@ -17,6 +17,8 @@ option('systemd_journal', type: 'boolean', value: true, description: 'enable sys
|
||||
|
||||
option('polkit', type: 'combo', choices: ['strict', 'permissive', 'no'], value: 'strict', description: 'User auth-polkit configuration option.')
|
||||
|
||||
option('deprecated', type: 'boolean', value: true, description: 'build with deprecated symbols')
|
||||
|
||||
option('at_command_via_dbus', type: 'boolean', value: false, description: 'enable at commands via d-bus')
|
||||
|
||||
option('builtin_plugins', type: 'boolean', value: false, description: 'integrate all built plugins within the daemon binary')
|
||||
|
||||
Reference in New Issue
Block a user