]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: Unconditionally add conditional VALAFLAGS to make bootstrap
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 26 Sep 2018 07:48:11 +0000 (09:48 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 26 Sep 2018 10:25:35 +0000 (12:25 +0200)
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

index 508c6618f601de9f4339cb7d71eeabc5bced029e..88bef90ed11cc5f200ac96e29c36e6e5e4773ed1 100644 (file)
@@ -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: