[gtk/gtk-3-24] Don't set G_ENABLE_CONSISTENCY_CHECKS on all debug builds.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Don't set G_ENABLE_CONSISTENCY_CHECKS on all debug builds.
- Date: Thu, 29 Aug 2019 02:55:34 +0000 (UTC)
commit d34d99a917af885ba81d1ce14af08dc77c9ac92c
Author: John Ralls <jralls ceridwen us>
Date: Fri Jul 26 15:25:13 2019 -0700
Don't set G_ENABLE_CONSISTENCY_CHECKS on all debug builds.
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4eac3397c5..6d6a4d1db7 100644
--- a/meson.build
+++ b/meson.build
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]