[gnome-build-meta/mcatanzaro/build-best-practices: 2/3] sdk/gtk+-3.bst: use flags that match GTK 4 defaults




commit 75cfd9cba0dd6196a066a55ce48e08328edb90df
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Thu Aug 4 13:31:03 2022 -0500

    sdk/gtk+-3.bst: use flags that match GTK 4 defaults
    
    GTK 4 production builds will not enable debug or asserts.
    
    Certainly, it does not make sense to enable debug in our builds when
    upstream has chosen not to.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1703>

 elements/sdk/gtk+-3.bst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index 5efd9536b..76ef5992c 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -37,7 +37,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
-  local_flags: '-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS'
+  local_flags: '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS'
   meson-local: >-
     -Dbroadway_backend=true
     -Dinstalled_tests=true


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