mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 05:02:22 +02:00
Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.7..go1.22.8 aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8 b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document 6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely 71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment [1] https://github.com/golang/go/compare/go1.22.7...go1.22.8 (From OE-Core rev: 552b9913b25107d7a34611b499b7811896b5f098) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
468 B
BlitzBasic
19 lines
468 B
BlitzBasic
require go-${PV}.inc
|
|
require go-target.inc
|
|
|
|
inherit linuxloader
|
|
|
|
CGO_LDFLAGS:append = " -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') or 'riscv32' in d.getVar('TARGET_ARCH'):
|
|
d.appendVar('INSANE_SKIP:%s' % d.getVar('PN'), " textrel")
|
|
}
|
|
|