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




commit c815a38d5f05e37a184cf8ec544905abb661718e
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

 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]