* Makefile.am (%.go): Specify the target platform. --- Hi,
Configuring different build and host platforms could result in guile object files for the wrong CPU architecture. Can something like this set the target for guild? Thanks. David Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3329382..8e075bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -115,7 +115,8 @@ modules/dmd/config.scm: modules/dmd/config.scm.in Makefile %.go: %.scm $(templates:%.in=%) $(MKDIR_P) "`dirname "$@"`" LC_ALL=C \ - $(GUILD) compile -L "$(top_builddir)/modules" \ + $(GUILD) compile --target="$(host)" \ + -L "$(top_builddir)/modules" \ -L "$(top_srcdir)/modules" \ -Wformat -Wunbound-variable -Warity-mismatch \ -o "$@" "$<" -- 1.9.3