]> code.ossystems Code Review - openembedded-core.git/commit
go_1.14: don't set -buildmode=pie when building for windows targets
authorPeter Morrow <pemorrow@linux.microsoft.com>
Tue, 6 Apr 2021 13:07:58 +0000 (06:07 -0700)
committerSteve Sakoman <steve@sakoman.com>
Mon, 19 Apr 2021 14:27:15 +0000 (04:27 -1000)
commita1b0631c4723d2a98eb9e80ec85a00bc46276783
tree828fe556a05291ee0a91fdf88e79cd0ce66e3216
parent099bd78ce80772c42887104a40aa0a92fdaa6965
go_1.14: don't set -buildmode=pie when building for windows targets

go 1.14 for windows targets does not support -buildmode=pie, disable it and use
the default buildmode instead. Support for -buildmode=pie for windows targets
is added with go 1.15 (https://golang.org/doc/go1.15) which is added to poky in
gatesgarth.

Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/go.bbclass
meta/recipes-devtools/go/go_1.14.bb