[gnome-build-meta/mcatanzaro/build-best-practices: 1/3] sdk/gtk.bst: use upstream default build flags




commit bf3b3b3a14aa36074b96ef76ebaaff397ac0edf9
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Thu Aug 4 13:27:48 2022 -0500

    sdk/gtk.bst: use upstream default build flags
    
    Instead of manually defining preprocessor flags that we wish to use,
    let's trust upstream to pick good defaults for us. This follows Rule 2
    from my blog post:
    
    https://blogs.gnome.org/mcatanzaro/2022/07/15/best-practices-for-build-options/
    
    We should follow up in GTK itself to make sure GTK's defaults are good.
    
    This partially reverts !1590
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1703>

 elements/sdk/gtk.bst | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 33924d649..ce89c28e1 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -33,7 +33,6 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
-  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]