Don't set G_ENABLE_CONSISTENCY_CHECKS on all debug builds.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user