Turn off auto-compile while compiling.

This prevents Guile from complaining when compiling the project from
within the Guix build environment.

* build-aux/guile-rules.am: Set 'GUILE_AUTO_COMPILE' to '0' when
compiling.
This commit is contained in:
Timothy Sample 2019-05-18 15:37:50 -04:00
parent 7e65eae774
commit 3f745ae39e
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ $(guile_install_go_files): install-nobase_dist_guilemoduleDATA
GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
SUFFIXES = .scm .go
.scm.go:
$(AM_V_GEN)$(top_builddir)/pre-inst-env \
$(AM_V_GEN) GUILE_AUTO_COMPILE=0 \
$(top_builddir)/pre-inst-env \
$(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<"
EXTRA_DIST = $(GUILE_MODULES)