mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
go-native: use libdir_native
Setting staging_libdir to libdir caused unnecessary rebuilds of go-native when switching from a multilib build to a non-multilib build. Switch to libdir_native because it doesn't change based on target configuration. (From OE-Core rev: af1ba0dfc904c78e3e030b9d81806f8269e66c56) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9ddb109370
commit
e2f9287446
@@ -1,7 +1,3 @@
|
||||
# Use immediate assingment here to get the original (/usr/lib)
|
||||
# instead of the one rewritten by native.bbclass.
|
||||
nonstaging_libdir := "${libdir}"
|
||||
|
||||
inherit native
|
||||
|
||||
SRC_URI_append = " https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4"
|
||||
@@ -20,7 +16,7 @@ do_configure() {
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
export GOROOT_FINAL="${nonstaging_libdir}/go"
|
||||
export GOROOT_FINAL="${libdir_native}/go"
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}/go1.4/go"
|
||||
|
||||
cd src
|
||||
|
||||
Reference in New Issue
Block a user