diff options
-rw-r--r-- | meta/classes/go.bbclass | 2 |
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" # 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') |