[oe-commits] [openembedded-core] 26/32: go.bbclass: Disable PIE on riscv

git at git.openembedded.org git at git.openembedded.org
Sun Jan 26 22:33:49 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0951f33b4add3ae6747440529124826ef9941b96
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