diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-10-13 19:25:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-16 23:52:04 +0100 |
commit | eba5fd5f594d65d311fa7564fa4b243248cb212a (patch) | |
tree | f78582e38840ab5054c75828bf582395a079ebad /meta/recipes-devtools/go/go-runtime.inc | |
parent | 7e96cf3c9850dc34d53af73a9ac22b1624994484 (diff) | |
download | openembedded-core-eba5fd5f594d65d311fa7564fa4b243248cb212a.tar.gz |
go: Export correct GO386 value for target
When compiling go code for the target we need to ensure that GO386 is exported
and set appropriately. This controls whether sse/sse2 instructions are used to
implement floating-point operations or not.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/go/go-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-runtime.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc index f181dc7a29..29ae86e4ee 100644 --- a/meta/recipes-devtools/go/go-runtime.inc +++ b/meta/recipes-devtools/go/go-runtime.inc @@ -7,6 +7,7 @@ export GOHOSTARCH = "${BUILD_GOARCH}" export GOOS = "${TARGET_GOOS}" export GOARCH = "${TARGET_GOARCH}" export GOARM = "${TARGET_GOARM}" +export GO386 = "${TARGET_GO386}" export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" export GOROOT_FINAL = "${libdir}/go" export GO_TARGET_INSTALL = "std" |