From bdd6ea8165257e852ead70f707eb0f83995ea8cb Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Fri, 28 Jul 2023 14:06:22 -0500 Subject: [PATCH] meson: remove useless if statement Just always pass the boolean option. --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index ba3f1cc3..ac03c744 100644 --- a/meson.build +++ b/meson.build @@ -122,9 +122,7 @@ if get_option('libunwind') endif # Development build setup -if get_option('development') - config_h.set10('DEVELOPMENT_BUILD', true) -endif +config_h.set10('DEVELOPMENT_BUILD', get_option('development')) has_use_clockid = cc.has_member('struct perf_event_attr', 'use_clockid',