summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-11-22 09:07:25 +0100
committerLudovic Courtès <ludo@gnu.org>2011-11-22 09:07:25 +0100
commita0a8dd625469f5b6194e7ace9146e5f10b9b4016 (patch)
tree1567d8bdd4084b08f5ee5cb8425acea774ae30cb /module
parentf7db6079bc16354394a1bd90d15c2a7ab985f148 (diff)
Build `psyntax-pp.go' with `--target=$(host)'.
* module/Makefile.am (ice-9/psyntax-pp.go): Pass `--target=$(host)'.
Diffstat (limited to 'module')
-rw-r--r--module/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/Makefile.am b/module/Makefile.am
index b93d8d3a1..2c5e2595d 100644
--- a/module/Makefile.am
+++ b/module/Makefile.am
@@ -80,9 +80,10 @@ ice-9/psyntax-pp.scm.gen:
.PHONY: ice-9/psyntax-pp.scm.gen
ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
- $(AM_V_GUILEC) GUILE_AUTO_COMPILE=0 \
- $(top_builddir)/meta/uninstalled-env \
- guild compile $(GUILE_WARNINGS) -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
+ $(AM_V_GUILEC) GUILE_AUTO_COMPILE=0 \
+ $(top_builddir)/meta/uninstalled-env \
+ guild compile --target="$(host)" $(GUILE_WARNINGS) \
+ -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
SCHEME_LANG_SOURCES = \
language/scheme/spec.scm \