[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ludovic Courtès |
Date: |
Thu, 11 Jan 2024 17:44:36 -0500 (EST) |
branch: master
commit b5ff75cfc94e11805c6d114df33618bc10608d9e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jan 11 18:55:30 2024 +0100
build: Preserve GUILE_LOAD_COMPILED_PATH when compiling.
This should speed up compilation a bit by allowing .go files of
dependencies to be loaded.
* Makefile.am (.scm.go): Do not unset ‘GUILE_LOAD_COMPILED_PATH’.
---
Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 38f392d..e54df97 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -181,9 +181,9 @@ GUILE_WARNINGS = \
# 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:
- $(guilec_verbose)$(MKDIR_P) `dirname "$@"`; \
- export GUILE_AUTO_COMPILE=0 ; unset GUILE_LOAD_COMPILED_PATH; \
- LC_ALL=C \
+ $(guilec_verbose)$(MKDIR_P) `dirname "$@"`; \
+ export GUILE_AUTO_COMPILE=0 ; \
+ LC_ALL=C \
$(top_builddir)/pre-inst-env $(GUILD) compile \
-L "$(top_builddir)/src" -L "$(top_srcdir)/src" \
$(GUILE_WARNINGS) \