Files
poky/meta/recipes-devtools/go/go_1.25.0.bb
Peter Marko 02544f6e75 go: upgrade 1.24.6 -> 1.25.0
Release Announcement: [1]
Release notes: [2]
Refreshes all patches.

[1] https://groups.google.com/g/golang-announce/c/BVrdugXW05c
[2] https://go.dev/doc/go1.25

(From OE-Core rev: 89770e94434253f1b08cea542cd7bb0d553dac09)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00

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")
}