]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
go 1.9/1.11: fix textrel qa warning for non mips arch
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 29 Oct 2018 08:21:15 +0000 (16:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Nov 2018 11:14:39 +0000 (11:14 +0000)
commit88ac8e533438532ff6cad3285cdd16479e70642d
tree82f7a723bee4a9281731970032d7cb0b671f4f1f
parent07999325f94a60546212d37ffc9f4de7a3943214
go 1.9/1.11: fix textrel qa warning for non mips arch

While building go itself, the go build system does not support
to set `-buildmode=pie' from environment.

Add GOBUILDMODE to support it which make PIE executables the default
build mode, as PIE executables are required as of Yocto

But mips doesn't support -buildmode=pie, so skip the QA checking for
mips and its variants

(From OE-Core rev: d11cb2ea0abfca4a5958ff4647f22a5b203113e5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-1.11.inc
meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.9.inc
meta/recipes-devtools/go/go-1.9/0011-use-GOBUILDMODE-to-set-buildmode.patch [new file with mode: 0644]
meta/recipes-devtools/go/go_1.11.bb
meta/recipes-devtools/go/go_1.9.bb