Don't set G_ENABLE_CONSISTENCY_CHECKS on all debug builds.
This commit is contained in:
parent
a12931b9f8
commit
d34d99a917
@ -60,9 +60,9 @@ gtk_debug_cflags = []
|
||||
buildtype = get_option('buildtype')
|
||||
if buildtype.startswith('debug')
|
||||
gtk_debug_cflags += '-DG_ENABLE_DEBUG'
|
||||
if buildtype == 'debug'
|
||||
gtk_debug_cflags += '-DG_ENABLE_CONSISTENCY_CHECKS'
|
||||
endif
|
||||
# if buildtype == 'debug'
|
||||
# gtk_debug_cflags += '-DG_ENABLE_CONSISTENCY_CHECKS'
|
||||
# endif
|
||||
elif buildtype == 'release'
|
||||
gtk_debug_cflags += '-DG_DISABLE_CAST_CHECKS'
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user