summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0a51552054..814bd3b355 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,6 +50,7 @@ CLEANFILES = $(GOBJECTS) *.log
GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \
$(GUILD) compile -L "$(top_srcdir)" \
-Wformat -Wunbound-variable -Warity-mismatch \
+ --target="$(host)" \
-o "$@" "$<"
SUFFIXES = .go
diff --git a/configure.ac b/configure.ac
index 8826258b04..1aabc24ab6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,8 @@ AC_CONFIG_MACRO_DIR([m4])
guilemoduledir="${datarootdir}/guile/site/2.0"
AC_SUBST([guilemoduledir])
+AC_CANONICAL_HOST
+
PKG_CHECK_MODULES([GUILE], [guile-2.0])
AC_PATH_PROG([GUILE], [guile])
AC_PATH_PROG([GUILD], [guild])