Efraim Flashner 0cd912186a
build-system/go: Fix building on host's secondary architecture.
Before when building for i686-linux on x86_64-linux GOARCH would be set
to amd64, not 386.

* guix/build-system/go.scm (go-build): Set goarch and goos to #f when
not cross-compiling.
* guix/build/go-build-system.scm (setup-go-environment): Set GOARCH
according to the calculated goarch or using GOHOSTARCH and GOOS
according to the calculated goos or using GOHOSTOS.
2021-10-18 14:53:17 +03:00
..
2021-08-22 21:36:29 +02:00
2021-01-04 23:54:16 +01:00
2021-01-04 23:54:16 +01:00
2021-09-21 15:15:52 +02:00
2021-04-12 18:42:22 +02:00
2020-12-19 23:25:01 +01:00
2021-08-12 12:34:13 +02:00
2021-10-17 18:26:44 +02:00
2021-05-11 12:49:53 +02:00