Files
poky/meta/recipes-devtools/go/go_1.19.bb
Alexander Kanavin 7d219c2440 go: update 1.18.4 -> 1.19
Rebase patches.

(From OE-Core rev: 85064fd76c9f19b522f540f26e0fc68bfb0d7f43)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 08:25:28 +01:00

19 lines
488 B
BlitzBasic

require go-${PV}.inc
require go-target.inc
inherit linuxloader
CGO_LDFLAGS:append:mips = " -no-pie"
export GO_LDSO = "${@get_linuxloader(d)}"
export CC_FOR_TARGET = "gcc"
export CXX_FOR_TARGET = "g++"
# mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv32 and its
# variants.
python() {
if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv32' in d.getVar('TARGET_ARCH',True):
d.appendVar('INSANE_SKIP:%s' % d.getVar('PN',True), " textrel")
}