AboutSummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-05-04 16:06:02 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-05-07 23:38:53 +0200
commitbb8703b679509fe3b842f9f24f6871b3c2889916 (patch)
treeb63ca51d9157352d5bcb16831561fd9997f2bcfd
parent5097e30babe31a40a3fb8e281fee2a472414e5f8 (diff)
downloadmcron-bb8703b679509fe3b842f9f24f6871b3c2889916.tar.gz
mcron-bb8703b679509fe3b842f9f24f6871b3c2889916.tar.bz2
mcron-bb8703b679509fe3b842f9f24f6871b3c2889916.zip
build: Do not auto-compile 'guild'.
* Makefile.am (.scm.go): Set GUILE_AUTO_COMPILE to 0.
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
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
# <http://git.sv.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>.
.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" \