From b67ec905205d96ca6801626a65149724f47f36f0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 3 Dec 2018 09:36:36 -0500 Subject: Enable additional debug flags/logging with debugoptimized builds This lets developers run a local build with optimizations but also the added debug logging that comes with PACMAN_DEBUG being defined. Signed-off-by: Allan McRae --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8837816f..394bd1f5 100644 --- a/meson.build +++ b/meson.build @@ -211,7 +211,7 @@ elif conf.has('HAVE_STRUCT_STATFS_F_FLAGS') conf.set('FSSTATSTYPE', 'struct statfs') endif -if get_option('buildtype') == 'debug' +if get_option('buildtype').startswith('debug') extra_cflags = [ '-Wcast-align', '-Wclobbered', -- cgit v1.2.3-54-g00ecf