mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
go.bbclass: Disable PIE on riscv
Its not _yet_ supported for riscv (From OE-Core rev: aeb38e003dc5e11008e301a584e93351745ef6e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -147,7 +147,7 @@ INSANE_SKIP_${PN} += "ldflags"
|
||||
# doesn't support -buildmode=pie, so skip the QA checking for mips and its
|
||||
# variants.
|
||||
python() {
|
||||
if 'mips' in d.getVar('TARGET_ARCH'):
|
||||
if 'mips' in d.getVar('TARGET_ARCH') or 'riscv' in d.getVar('TARGET_ARCH'):
|
||||
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
|
||||
else:
|
||||
d.appendVar('GOBUILDFLAGS', ' -buildmode=pie')
|
||||
|
||||
Reference in New Issue
Block a user