package/pkg-golang: add cflags/ldflags to GO_HOST_ENV
authorMirza Krak <mirza.krak@northern.tech>
Mon, 3 Jun 2019 09:21:01 +0000 (11:21 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 8 Jun 2019 19:42:32 +0000 (21:42 +0200)
commitd65b6b337b6ddc7961aff5232062747a14cc9127
tree206898dccc9868ee923682615e60640d0b36e334
parentfa25bf1d69df6290d2dd19d6fa4ba6fea4ebe88a
package/pkg-golang: add cflags/ldflags to GO_HOST_ENV

If a go host package is built using cgo, it needs access
to HOST_CFLAGS/HOST_LDFLAGS to utilize host packages it
might depend on.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Acked-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pkg-golang.mk