summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/runc/runc.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index 83d5f863..b1f2ba87 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -21,8 +21,6 @@ EXTRA_OEMAKE="BUILDTAGS=''"
21inherit goarch 21inherit goarch
22 22
23do_compile() { 23do_compile() {
24 export GOARCH="${TARGET_GOARCH}"
25 export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
26 # Set GOPATH. See 'PACKAGERS.md'. Don't rely on 24 # Set GOPATH. See 'PACKAGERS.md'. Don't rely on
27 # docker to download its dependencies but rather 25 # docker to download its dependencies but rather
28 # use dependencies packaged independently. 26 # use dependencies packaged independently.
@@ -34,7 +32,6 @@ do_compile() {
34 32
35 (cd .gopath/src/${dname}; ln -sf ../../../../../${bname} ${bname}) 33 (cd .gopath/src/${dname}; ln -sf ../../../../../${bname} ${bname})
36 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" 34 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
37 export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
38 35
39 # Fix up symlink for go-cross compiler 36 # Fix up symlink for go-cross compiler
40 rm -f ${S}/src/import/vendor/src 37 rm -f ${S}/src/import/vendor/src