[gnome-build-meta/alatiera/cast-checks: 3/3] sdk/{gtk, gtk+-3}: build disabling cast checks




commit e0bfb71cd387986b49ab74dae0e286097c65ad49
Author: Jordan Petridis <jordan centricular com>
Date:   Tue May 17 16:06:28 2022 +0300

    sdk/{gtk, gtk+-3}: build disabling cast checks
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1604>

 elements/sdk/gtk+-3.bst | 2 +-
 elements/sdk/gtk.bst    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index 46ae49c3f..386aa3bd7 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -38,7 +38,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
-  local_flags: '-DG_ENABLE_DEBUG'
+  local_flags: '-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS'
   meson-local: >-
     -Dbroadway_backend=true
     -Dinstalled_tests=true
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 2cec8b436..417747b0c 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -34,7 +34,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
-  local_flags: '-DG_ENABLE_DEBUG'
+  local_flags: '-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS'
   meson-local: >-
     -Dbroadway-backend=true
     -Dgtk_doc=true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]