summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-25 07:39:53 +0100
committerSam James <sam@gentoo.org>2024-06-25 07:41:18 +0100
commit1375818e7b5b3300812a7e86402526d0b2f72078 (patch)
tree1b348eaf19edabfe7ad1d47277dae707ac62b35c /app-containers
parentapp-containers/runc: don't clobber CGO_* (diff)
downloadgentoo-1375818e7b5b3300812a7e86402526d0b2f72078.tar.gz
gentoo-1375818e7b5b3300812a7e86402526d0b2f72078.tar.bz2
gentoo-1375818e7b5b3300812a7e86402526d0b2f72078.zip
app-containers/docker: don't clobber CGO_*
Note that we don't have to export now either as go-env.eclass does that. Bug: https://bugs.gentoo.org/900933 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/docker/docker-26.1.0-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-containers/docker/docker-26.1.0-r1.ebuild b/app-containers/docker/docker-26.1.0-r1.ebuild
index 6aec21b30a71..980c31950f3d 100644
--- a/app-containers/docker/docker-26.1.0-r1.ebuild
+++ b/app-containers/docker/docker-26.1.0-r1.ebuild
@@ -242,8 +242,8 @@ src_compile() {
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
- export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
- export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
+ CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
+ CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)"
# let's set up some optional features :)
export DOCKER_BUILDTAGS=''