[oe-commits] [openembedded-core] 57/64: go.bbclass: Disable PIE on riscv
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 27 16:49:37 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit aeb38e003dc5e11008e301a584e93351745ef6e7
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Jan 26 11:27:47 2020 -0800
go.bbclass: Disable PIE on riscv
Its not _yet_ supported for riscv
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/go.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index e40e556..369652d 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -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')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list