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