Commit b67ec905 authored by Dave Reisner's avatar Dave Reisner Committed by Allan McRae
Browse files

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's avatarAllan McRae <allan@archlinux.org>
parent 36a5069a
......@@ -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',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment