[vala/wip/gnome-sdk: 1/2] build: Unconditionally add conditional VALAFLAGS to make bootstrap



commit 2eee4d0db7657800acbc7a926d48234465ed4e21
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 508c6618f..88bef90ed 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]