diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-20 20:59:46 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-21 08:22:32 -0400 |
commit | a8e3eddaeca8b4b034b4310767d941db1d6b1a00 (patch) | |
tree | 822674036b730161f9d87436279e2b7707462222 /recipes-containers/docker-distribution | |
parent | 1b83c21436b2aec10e7b604ee5e3905441d1bb8a (diff) | |
download | meta-virtualization-a8e3eddaeca8b4b034b4310767d941db1d6b1a00.tar.gz |
recipes-containers: set GOROOT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker-distribution')
-rw-r--r-- | recipes-containers/docker-distribution/docker-distribution_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index b8181c7a..07920b9f 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb | |||
@@ -23,7 +23,7 @@ EXTRA_OEMAKE="BUILDTAGS=''" | |||
23 | do_compile() { | 23 | do_compile() { |
24 | export GOARCH="${TARGET_GOARCH}" | 24 | export GOARCH="${TARGET_GOARCH}" |
25 | export GOPATH="${WORKDIR}/git/" | 25 | export GOPATH="${WORKDIR}/git/" |
26 | 26 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
27 | # Pass the needed cflags/ldflags so that cgo | 27 | # Pass the needed cflags/ldflags so that cgo |
28 | # can find the needed headers files and libraries | 28 | # can find the needed headers files and libraries |
29 | export CGO_ENABLED="1" | 29 | export CGO_ENABLED="1" |