The current Makefile only allows building AMD64 and i386, but there's no
reason why go can't build other archs. This setting of a specific arch
seems somewhat superfluous anyway since go provides us the proper arch
in its env, but I've retained the current behavior for safety if we
can't find the arch from go config.
The current Makefile only allows building AMD64 and i386, but there's no reason why go can't build other archs. This setting of a specific arch seems somewhat superfluous anyway since go provides us the proper arch in its env, but I've retained the current behavior for safety if we can't find the arch from go config.
The new default is to rely on GOARCH.