Files
poky/meta/recipes-devtools/go/go_1.24.2.bb
Archana Polampalli b0cb523695 go: upgrade 1.24.1 -> 1.24.2
Fixes CVE-2025-22871

https://github.com/golang/go/compare/go1.24.1...go1.24.2

(From OE-Core rev: 0507f4709fb379e369f0abd5c37b9cee8de1fcb1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-05-19 08:57:20 -07: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")
}