Revert "yq: Redefine do_compile"

This reverts commit 49a6827cbd.

The workaround is no longer needed, as oe-core has upgraded go to
a version that has fixed the issue.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2023-05-29 09:40:56 -04:00
parent 876a9da42a
commit e11b230d0e

View File

@ -50,7 +50,7 @@ GO_IMPORT = "github.com/mikefarah/yq"
inherit go ptest
do_compile() {
do_compile:prepend() {
# arrange for some of the golang built ins to be found
(
cd ${WORKDIR}/build/src/
@ -60,7 +60,6 @@ do_compile() {
# arrange for the fetched dependencies to be found
export GOPATH="${GOPATH}:${WORKDIR}/build/vendor/"
export GO111MODULE=off
${GO} install ${GOBUILDFLAGS} `go_list_packages`
}
do_install:append() {