]> code.ossystems Code Review - openembedded-core.git/commit
go: Update to 1.15.5
authorKhem Raj <raj.khem@gmail.com>
Sat, 21 Nov 2020 08:23:16 +0000 (00:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2020 10:27:39 +0000 (10:27 +0000)
commita71d1b58e8cf0976a614c49aa2dfe1e0605dfe95
tree4969120988e239fe9fb728a4ec62c06dae5effd9
parent9bb06428cbb2ac0f3d98a1696f050d3393385503
go: Update to 1.15.5

Define CXX_FOR_TARGET and CC_FOR_TARGET for target go
since we are cross building it, it helps in defining the compiler
for cgo on target

backport a patch to fix CGO_LDFLAGS regression like below

Fixes
| Building std for target, linux/arm.
| go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-1.15.inc
meta/recipes-devtools/go/go-1.15/0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-binary-native_1.15.5.bb [moved from meta/recipes-devtools/go/go-binary-native_1.15.3.bb with 83% similarity]
meta/recipes-devtools/go/go_1.15.bb