summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/go.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index e40e55689d..369652dbbd 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -147,7 +147,7 @@ INSANE_SKIP_${PN} += "ldflags"
147# doesn't support -buildmode=pie, so skip the QA checking for mips and its 147# doesn't support -buildmode=pie, so skip the QA checking for mips and its
148# variants. 148# variants.
149python() { 149python() {
150 if 'mips' in d.getVar('TARGET_ARCH'): 150 if 'mips' in d.getVar('TARGET_ARCH') or 'riscv' in d.getVar('TARGET_ARCH'):
151 d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel") 151 d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
152 else: 152 else:
153 d.appendVar('GOBUILDFLAGS', ' -buildmode=pie') 153 d.appendVar('GOBUILDFLAGS', ' -buildmode=pie')