[2/2] Revert "go: Reset unneeded GOARCH variables for native recipe"

Message ID 20191213211502.3144020-2-raj.khem@gmail.com
State Accepted
Commit 18b90967bd367263280ec871be84e67e3eed11fa
Headers show
Series
  • [1/2] goarch: Remove target specific dependencies
Related show

Commit Message

Khem Raj Dec. 13, 2019, 9:15 p.m.
This reverts commit 4825eede606b075d0d529b38d6162999f1dec506.

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-devtools/go/go-common.inc | 10 ----------
 1 file changed, 10 deletions(-)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc
index aa2482d356..f18d928c70 100644
--- a/meta/recipes-devtools/go/go-common.inc
+++ b/meta/recipes-devtools/go/go-common.inc
@@ -37,16 +37,6 @@  export GO386 ?= "${TARGET_GO386}"
 export GOMIPS ?= "${TARGET_GOMIPS}"
 export GOROOT_FINAL ?= "${libdir}/go"
 
-GOEXPORTVARS = "1"
-GOEXPORTVARS_class-native = "0"
-
-GOARM[export] = "${GOEXPORTVARS}"
-GO386[export] = "${GOEXPORTVARS}"
-GOMIPS[export] = "${GOEXPORTVARS}"
-HOST_GOARM[export] = "${GOEXPORTVARS}"
-HOST_GO386[export] = "${GOEXPORTVARS}"
-HOST_GOMIPS[export] = "${GOEXPORTVARS}"
-
 do_compile_prepend() {
 	BUILD_CC=${BUILD_CC}
 }