diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-04-26 21:13:06 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-13 15:33:30 +0300 |
commit | de4f5df95db6c2e7071bf5e44c0d7ae928da1025 (patch) | |
tree | b760d81f90354814819a41c11684d8084e322b95 /etc | |
parent | 43f9757f809d0fb3cd7c3e8b24bfb927179055e8 (diff) | |
download | guix-de4f5df95db6c2e7071bf5e44c0d7ae928da1025.tar.gz guix-de4f5df95db6c2e7071bf5e44c0d7ae928da1025.zip |
build/go: Support cross compiling.
* guix/build-system/go.scm (go-target): New procedure.
(go-build): Add goarch, goos keywords. Adjust bag depending if doing a
native or cross compile.
(go-cross-build): New procedure.
* guix/build/go-build-system.scm (setup-go-environment): Accept goarch,
goos keywords. Set go environment variables based on target architecture.
* doc/guix.texi (Build Systems): Mention new go-build-system keywords.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions