summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-25 07:40:23 +0100
committerSam James <sam@gentoo.org>2024-06-25 07:41:21 +0100
commit4913cc739d6aeffc72834222f21a2d8ce9efe4e1 (patch)
treebb6f48eebed9ea376263c8482d0bf863e9eda065 /app-containers
parentapp-containers/docker: don't clobber CGO_* (diff)
downloadgentoo-4913cc739d6aeffc72834222f21a2d8ce9efe4e1.tar.gz
gentoo-4913cc739d6aeffc72834222f21a2d8ce9efe4e1.tar.bz2
gentoo-4913cc739d6aeffc72834222f21a2d8ce9efe4e1.zip
app-containers/docker-cli: 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-cli/docker-cli-26.1.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-containers/docker-cli/docker-cli-26.1.0.ebuild b/app-containers/docker-cli/docker-cli-26.1.0.ebuild
index ae27ce232a20..12a42233ff2f 100644
--- a/app-containers/docker-cli/docker-cli-26.1.0.ebuild
+++ b/app-containers/docker-cli/docker-cli-26.1.0.ebuild
@@ -44,8 +44,8 @@ src_compile() {
export GOPATH="${WORKDIR}/${P}"
# 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)"
emake \
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
VERSION="${PV}" \