[vala/0.40] build: Unconditionally add conditional VALAFLAGS to make bootstrap



commit 55a36a289a392e4f2ae1b359d097f9469f2c2bea
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Sep 26 09:48:11 2018 +0200

    build: Unconditionally add conditional VALAFLAGS to make bootstrap
    
    This avoids another configure pass after an initial build with an older
    valac <= 0.39.5.8.
    
    See https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/44

 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/Makefile.am b/Makefile.am
index e5dc0cc97..cd13556fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,8 @@ libvala@PACKAGE_SUFFIX@.pc: libvala.pc
 .PHONY: bootstrap
 bootstrap: all
        find $(top_srcdir) -name "*.vala.stamp" | xargs rm -f
-       $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac$(EXEEXT) V=$V
+       $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac$(EXEEXT) V=$V \
+               VALAFLAGS="$(VALAFLAGS) --hide-internal --abi-stability"
 
 .PHONY: test
 test:


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