From bb8703b679509fe3b842f9f24f6871b3c2889916 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Wed, 4 May 2016 16:06:02 +0200 Subject: build: Do not auto-compile 'guild'. * Makefile.am (.scm.go): Set GUILE_AUTO_COMPILE to 0. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b6c325b..4f11c0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,13 +57,14 @@ dist_mcronmodule_DATA = \ # in there that are newer than the local .scm files (for instance because the # user ran 'make install' recently). When that happens, we end up loading # those previously-installed .go files, which may be stale, thereby breaking -# the whole thing. +# the whole thing. Set GUILE_AUTO_COMPILE to 0 to avoid auto-compiling guild +# as a consequence of the previous hack. # # XXX: Use the C locale for when Guile lacks # . .scm.go: $(AM_V_GUILEC)$(MKDIR_P) `dirname "$@"` ; \ - unset GUILE_LOAD_COMPILED_PATH ; \ + export GUILE_AUTO_COMPILE=0 ; unset GUILE_LOAD_COMPILED_PATH ; \ LC_ALL=C \ $(top_builddir)/pre-inst-env $(GUILD) compile \ --load-path="$(top_builddir)/scm" \ -- cgit v1.2.3