mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
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>
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")
|
|
}
|
|
|