summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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',