[OE-core] [PATCH v2] go 1.9/1.11: fix textrel qa warning for non mips arch

Hongxu Jia hongxu.jia at windriver.com
Mon Oct 29 07:52:46 UTC 2018


On 2018/10/26 下午7:49, Hongxu Jia wrote:
> +python() {
> +    if 'mips' in d.getVar('TARGET_ARCH'):
> +        d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
> +    else:
> +        d.appendVar('GOBUILDMODE', 'pie')

It should use d.setVar('GOBUILDMODE', 'pie'), V3 incoming

//Hongxu




More information about the Openembedded-core mailing list