Message ID | 20160508145944.09f42d02@free-electrons.com |
---|---|
State | Not Applicable |
Headers | show |
On Sun, 2016-05-08 at 14:59 +0200, Thomas Petazzoni wrote: > Geoff, if that's OK for you, could you send a proper patch that does > this? > > diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk > index e404cb6..2b46694 100644 > --- a/package/go-bootstrap/go-bootstrap.mk > +++ b/package/go-bootstrap/go-bootstrap.mk > @@ -17,7 +17,8 @@ HOST_GO_BOOTSTRAP_MAKE_ENV = \ > GOOS=linux \ > GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ > GOROOT="$(@D)" \ > - GOBIN="$(@D)/bin" > + GOBIN="$(@D)/bin" \ > + CGO_ENABLED=0 We do not need cgo support in the bootstrap compiler, so this should be the correct fix. I'll test and send out a patch. -Geoff
diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk index e404cb6..2b46694 100644 --- a/package/go-bootstrap/go-bootstrap.mk +++ b/package/go-bootstrap/go-bootstrap.mk @@ -17,7 +17,8 @@ HOST_GO_BOOTSTRAP_MAKE_ENV = \ GOOS=linux \ GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" + GOBIN="$(@D)/bin" \ + CGO_ENABLED=0 define HOST_GO_BOOTSTRAP_BUILD_CMDS cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash