diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2022-09-20 11:46:09 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-20 08:42:10 -0400 |
commit | 2d0f7255a75d24ec3e3b686d70e97d20dc39c259 (patch) | |
tree | b436ab95e684f6f826cce151ec5e75890edd9876 /recipes-containers/docker/docker.inc | |
parent | 758da82203289e1d0f607b7e4c5e48e35e66d4ed (diff) | |
download | meta-virtualization-2d0f7255a75d24ec3e3b686d70e97d20dc39c259.tar.gz |
docker/proxy: don't use -linkshared unconditionally
The linkshared is not supported in some machines like riscv64 and
when supported we can use the GO_LINKSHARED instaed.
So export GO_LINKSHARED on the recipe to be available for Makefile.
This is currently only used in libnetwork for the proxy build, but
could be used in additional locations in the future.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker/docker.inc')
-rw-r--r-- | recipes-containers/docker/docker.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index b0bee4f0..9708eaf7 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
@@ -58,6 +58,9 @@ inherit pkgconfig | |||
58 | 58 | ||
59 | do_configure[noexec] = "1" | 59 | do_configure[noexec] = "1" |
60 | 60 | ||
61 | # Export for possible use in Makefiles, default value comes from go.bbclass | ||
62 | export GO_LINKSHARED | ||
63 | |||
61 | DOCKER_PKG="github.com/docker/docker" | 64 | DOCKER_PKG="github.com/docker/docker" |
62 | # in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 | 65 | # in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 |
63 | BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" | 66 | BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" |