diff options
-rw-r--r-- | recipes-containers/docker-distribution/docker-distribution_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index 395694aa..89c59802 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb | |||
@@ -25,15 +25,15 @@ EXTRA_OEMAKE="BUILDTAGS=''" | |||
25 | do_compile() { | 25 | do_compile() { |
26 | export GOARCH="${TARGET_GOARCH}" | 26 | export GOARCH="${TARGET_GOARCH}" |
27 | export GOPATH="${WORKDIR}/git/" | 27 | export GOPATH="${WORKDIR}/git/" |
28 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | 28 | export GOROOT="${STAGING_LIBDIR}/go" |
29 | # Pass the needed cflags/ldflags so that cgo | 29 | # Pass the needed cflags/ldflags so that cgo |
30 | # can find the needed headers files and libraries | 30 | # can find the needed headers files and libraries |
31 | export CGO_ENABLED="1" | 31 | export CGO_ENABLED="1" |
32 | export CFLAGS="" | 32 | export CFLAGS="" |
33 | export LDFLAGS="" | 33 | export LDFLAGS="" |
34 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 34 | export CGO_CFLAGS="${TARGET_CFLAGS}" |
35 | export GO_GCFLAGS="" | 35 | export GO_GCFLAGS="" |
36 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 36 | export CGO_LDFLAGS="${TARGET_LDFLAGS}" |
37 | export GO111MODULE=off | 37 | export GO111MODULE=off |
38 | 38 | ||
39 | cd ${S} | 39 | cd ${S} |