Reformat option
This option in meson 1.9 gets reformatted. Admittedly, it could be made
a little simpler with some variables, so do that instead.
Change-Id: I68a0bfdae27767b6dc5585d01596ddea598675fe
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/meson.build b/meson.build
index 8fd6a50..96a9383 100644
--- a/meson.build
+++ b/meson.build
@@ -174,10 +174,9 @@
]
## Add security flags for builds of type 'release','debugoptimized' and 'minsize'
-
-if not (get_option('buildtype') == 'plain'
-or get_option('buildtype').startswith('debug')
-)
+plain = get_option('buildtype') == 'plain'
+debug = get_option('buildtype').startswith('debug')
+if not (plain or debug)
add_project_arguments(
cxx.get_supported_arguments([security_flags]),
language: 'cpp',