[gnome-build-meta/alatiera/gtk-debug] sdk/gtk: Build with G_ENABLE_DEBUG
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/gtk-debug] sdk/gtk: Build with G_ENABLE_DEBUG
- Date: Wed, 27 Apr 2022 21:41:15 +0000 (UTC)
commit d94316017f1758ed93ea66c91e8c1a09a90f194c
Author: Jordan Petridis <jordan centricular com>
Date: Thu Apr 28 00:35:43 2022 +0300
sdk/gtk: Build with G_ENABLE_DEBUG
https://docs.gtk.org/gtk4/building.html
Related to #337
elements/sdk/gtk+-3.bst | 3 +++
elements/sdk/gtk.bst | 3 +++
2 files changed, 6 insertions(+)
---
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index 469d72208..529623195 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -37,6 +37,9 @@ depends:
- freedesktop-sdk.bst:components/xorg-lib-xinerama.bst
- freedesktop-sdk.bst:bootstrap-import.bst
+environment:
+ CFLAGS: '-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS'
+
variables:
meson-local: >-
-Dbroadway_backend=true
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 7bfc37746..fc0f97a2f 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -33,6 +33,9 @@ depends:
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:bootstrap-import.bst
+environment:
+ CFLAGS: '-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS'
+
variables:
meson-local: >-
-Dbroadway-backend=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]