diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-23 23:10:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-23 23:59:22 +0200 |
commit | 12da5162e49ea3b0f2e5e46f7aa5e410ebf30845 (patch) | |
tree | 47a5d804eee3cdce859bc6713a250cfd6bf0a42b /doc/local.mk | |
parent | 0f25feb15917c48cd37ee9b5a2cfc40014b0c520 (diff) | |
download | guix-12da5162e49ea3b0f2e5e46f7aa5e410ebf30845.tar guix-12da5162e49ea3b0f2e5e46f7aa5e410ebf30845.tar.gz |
compile: Pre-load the compiler outside 'with-target'.
* guix/build/compile.scm (compile-files): Move call to 'compile' before
'with-target'. Failing to do that, if the target has a different word
size than the host, the first call to 'compile-file' fails with:
ice-9/eval.scm:293:34: In procedure load-thunk-from-memory: ELF file does not have native word size
while attempting loading 'language/spec.go'.
Diffstat (limited to 'doc/local.mk')
0 files changed, 0 insertions, 0 deletions