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




commit 90b11eb054473636692d16848c98039bbbdff168
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.

 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]