[gnome-builder] make: ignore overrides for build flags



commit dd767b9a8f3d21398f6bb273868eb4b95fb98a03
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 31 13:12:33 2020 -0800

    make: ignore overrides for build flags
    
    If we do not override this, we will get the build flags from fallbacks
    such as $CFLAGS in the projects environment.

 src/plugins/make/make_plugin.py | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/src/plugins/make/make_plugin.py b/src/plugins/make/make_plugin.py
index ca73f2c8b..2b26586a3 100644
--- a/src/plugins/make/make_plugin.py
+++ b/src/plugins/make/make_plugin.py
@@ -57,15 +57,6 @@ class MakeBuildSystem(Ide.Object, Ide.BuildSystem):
     def do_get_builddir(self, pipeline):
         return self.get_context().ref_workdir().get_path()
 
-    def do_get_build_flags_async(self, file, cancellable, callback, data=None):
-        task = Gio.Task.new(self, cancellable, callback)
-        task.file = file
-        task.build_flags = []
-        task.return_boolean(True)
-
-    def do_get_build_flags_finish(self, result):
-        return result.build_flags
-
     def get_make_dir(self):
         return self.make_dir
 


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