From: Geoff Levand Date: Thu, 12 May 2016 00:08:46 +0000 (+0000) Subject: package/go-bootstrap: Set CGO_ENABLED=0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dfe8c19e91385469e279fd2ef1cb2dfd45c8968;p=buildroot.git package/go-bootstrap: Set CGO_ENABLED=0 Fixes build erorros like these: cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? Signed-off-by: Geoff Levand Signed-off-by: Thomas Petazzoni --- diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk index fd23628941..47f5013232 100644 --- a/package/go-bootstrap/go-bootstrap.mk +++ b/package/go-bootstrap/go-bootstrap.mk @@ -23,7 +23,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