diff options
author | Dave Reisner <dreisner@archlinux.org> | 2018-12-03 09:36:36 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-12-10 11:20:02 +1000 |
commit | b67ec905205d96ca6801626a65149724f47f36f0 (patch) | |
tree | 74c54e66e7c162e4af0cf1007c9e12c54678324d | |
parent | 36a5069a599f2f7d10eb8ad1a2074581f33ff040 (diff) | |
download | pacman-b67ec905205d96ca6801626a65149724f47f36f0.tar.xz |
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 <allan@archlinux.org>
-rw-r--r-- | meson.build | 2 |
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', |