aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorAnton Kochkov <anton.kochkov@proton.me>2022-08-17 14:37:23 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-01 07:42:37 +0200
commit0169815b47bffe4361ac2370a4ad584277a62a96 (patch)
tree66acabbb48e5d63d14899cf2b09b8b219535bd73 /meson_options.txt
parent7cb5844808f092306a5a764fe8427a653ac05358 (diff)
meson: be strict for boolean options
While Meson buildsystem accepts the 'false' as a value for boolean options, it's not covered by the specification and in general invalid. Some alternative Meson implementations, like Muon, do not accept 'false' or 'true' as a valid value for the boolean options. See https://mesonbuild.com/Build-options.html Signed-off-by: Anton Kochkov <anton.kochkov@proton.me> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220817143538.2107779-1-anton.kochkov@proton.me> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index e58e158396..63f0725174 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -82,9 +82,9 @@ option('tcg', type: 'feature', value: 'enabled',
description: 'TCG support')
option('tcg_interpreter', type: 'boolean', value: false,
description: 'TCG with bytecode interpreter (slow)')
-option('cfi', type: 'boolean', value: 'false',
+option('cfi', type: 'boolean', value: false,
description: 'Control-Flow Integrity (CFI)')
-option('cfi_debug', type: 'boolean', value: 'false',
+option('cfi_debug', type: 'boolean', value: false,
description: 'Verbose errors in case of CFI violation')
option('multiprocess', type: 'feature', value: 'auto',
description: 'Out of process device emulation support')