mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 12:01:49 +02:00
build: Be cross-compilation-ready.
* Makefile.am (.scm.go): Pass `--target=$(host)'. * configure.ac: Use `AC_CANONICAL_HOST'.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user