Michael Aldridge
a4dd50388a
xbps-src: Always enable the gocache
...
[ci_skip]
2018-09-01 22:05:07 -07:00
Michael Gehring
7c20248a20
common/environment/build-style/go.sh: drop go-cross-linux dep
2018-03-19 08:29:05 +01:00
Michael Aldridge
92d6e1a521
go build style: move GOPATH creation to do_configure()
2017-11-26 00:41:26 -08:00
Christian Neukirchen
ff8e25b4f3
build-style/go.sh: enable aarch64.
2016-09-16 22:26:56 +02:00
Dominik Honnef
5accddbb26
go, build-style/go: set nopie=yes
2015-11-19 09:55:48 +01:00
Dominik Honnef
114c395bf9
build-style/go: support cross-compilation with cgo
2015-09-04 02:18:57 +02:00
Dominik Honnef
2bb87e4e07
build-style/go: don't set GOBIN
...
Go 1.5 doesn't permit our use of GOBIN anymore, breaking
cross-compilation (for details, see
https://github.com/golang/go/issues/9769 )
In retrospect, I'm not sure why we set GOBIN in the first place;
GOPATH/bin should suffice.
Closes #2337
2015-08-22 20:58:24 +02:00
Dominik Honnef
3b617119c7
build-style/go: support building multiple packages
2015-05-04 13:40:44 +02:00
Dominik Honnef
a62f407007
set Go env vars in environment
...
This way, a template can overwrite do_build but still have good defaults
for GOPATH, GOARCH and GOARM.
2015-02-21 14:49:02 +01:00
Dominik Honnef
77e8751a93
New build_style: go
2015-02-21 14:49:02 +01:00