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>
This commit is contained in:
parent
36a5069a59
commit
b67ec90520
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue