mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
yq: Redefine do_compile
This reverts commit 9b87b12885
which states the linkshared issue is resolved. Actually the
issue still exists as build fails on qemuarm64 and we still
need the fix [1]. So add the fix [1] back and it's also better
define its own do_compile and not let the do_compile logic
in go.bbclass affect the build.
[1] https://git.yoctoproject.org/meta-virtualization/commit/?id=d2a630ce6cf67a145f218012fbf02e4d0d9648df
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
1458735a45
commit
b0a65f352a
|
@ -50,7 +50,7 @@ GO_IMPORT = "github.com/mikefarah/yq"
|
|||
|
||||
inherit go ptest
|
||||
|
||||
do_compile:prepend() {
|
||||
do_compile() {
|
||||
# arrange for some of the golang built ins to be found
|
||||
(
|
||||
cd ${WORKDIR}/build/src/
|
||||
|
@ -60,6 +60,7 @@ do_compile:prepend() {
|
|||
# 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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user