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')
|
buildtype = get_option('buildtype')
|
||||||
if buildtype.startswith('debug')
|
if buildtype.startswith('debug')
|
||||||
gtk_debug_cflags += '-DG_ENABLE_DEBUG'
|
gtk_debug_cflags += '-DG_ENABLE_DEBUG'
|
||||||
if buildtype == 'debug'
|
# if buildtype == 'debug'
|
||||||
gtk_debug_cflags += '-DG_ENABLE_CONSISTENCY_CHECKS'
|
# gtk_debug_cflags += '-DG_ENABLE_CONSISTENCY_CHECKS'
|
||||||
endif
|
# endif
|
||||||
elif buildtype == 'release'
|
elif buildtype == 'release'
|
||||||
gtk_debug_cflags += '-DG_DISABLE_CAST_CHECKS'
|
gtk_debug_cflags += '-DG_DISABLE_CAST_CHECKS'
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user