diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-03-01 15:55:52 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-03 18:01:29 +0000 |
| commit | 9729465f1d1affe272bf55963852e189bd36cf2e (patch) | |
| tree | 4a2782dc6aa88f1b431f76d72810899b96235f7f /meta/classes-recipe | |
| parent | ef1d0dea7bb330f1169e16e387df4a3ae30a4529 (diff) | |
| download | poky-9729465f1d1affe272bf55963852e189bd36cf2e.tar.gz | |
go: remove support for GOROOT_FINAL
After upstream go applied commit [cmd: remove support for
GOROOT_FINAL][1], GOROOT_FINAL variable is dropped and use
option -trimpath to instead [2]
The option -trimpath has already been added to GOBUILDFLAGS
in go.bbclass
[1] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98
[2] https://github.com/golang/go/issues/62047
(From OE-Core rev: 791ab77ac05f658ecd61525a3d9b1afaf8ac6e06)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/go.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes-recipe/go.bbclass b/meta/classes-recipe/go.bbclass index e3e4782025..c81d946069 100644 --- a/meta/classes-recipe/go.bbclass +++ b/meta/classes-recipe/go.bbclass | |||
| @@ -15,7 +15,6 @@ GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go" | |||
| 15 | GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" | 15 | GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" |
| 16 | GOROOT = "${STAGING_LIBDIR}/go" | 16 | GOROOT = "${STAGING_LIBDIR}/go" |
| 17 | export GOROOT | 17 | export GOROOT |
| 18 | export GOROOT_FINAL = "${libdir}/go" | ||
| 19 | export GOCACHE = "${B}/.cache" | 18 | export GOCACHE = "${B}/.cache" |
| 20 | 19 | ||
| 21 | export GOARCH = "${TARGET_GOARCH}" | 20 | export GOARCH = "${TARGET_GOARCH}" |
