]> code.ossystems Code Review - openembedded-core.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>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
commitd11cb2ea0abfca4a5958ff4647f22a5b203113e5
treebab33e57e8aee02c74d312b01a220e4aa39a1ea2
parent42f33bb5a480324b81c875fbb28872c734860253
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

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