Files
poky/meta/recipes-devtools/go/go-cross.inc
Khem Raj f16368d2c5 go: Upgrade to 1.8.3
Add a comment to fix build musl<->glibc switch while
using same TMPDIR

(From OE-Core rev: bc940753ee4af8c656f33d63e33c3d12d419446e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-05 09:19:51 +01:00

20 lines
515 B
PHP

inherit cross
DEPENDS += "gcc-cross-${TARGET_ARCH}"
PN = "go-cross-${TARGET_ARCH}"
# Ignore how TARGET_ARCH is computed.
TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
# Ignore target os libc for cross compiler
#TARGET_OS[vardepexclude] = "LIBCEXTENSION"
FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"
GOROOT_FINAL = "${libdir}/go"
export GOROOT_FINAL
# x32 ABI is not supported on go compiler so far
COMPATIBLE_HOST_linux-gnux32 = "null"
# ppc32 is not supported in go compilers
COMPATIBLE_HOST_powerpc = "null"