diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-04-04 22:34:24 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-04-05 11:34:46 -0400 |
commit | f82be05190d6b6e6f572de194b1faed95f561aa6 (patch) | |
tree | 026dd6b6ee09f0d973aebaf4d9d76a38efe18154 /app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild | |
parent | media-libs/lib3ds: fix .la file removal (diff) | |
download | gentoo-f82be05190d6b6e6f572de194b1faed95f561aa6.tar.gz gentoo-f82be05190d6b6e6f572de194b1faed95f561aa6.tar.bz2 gentoo-f82be05190d6b6e6f572de194b1faed95f561aa6.zip |
app-emulation/docker-cli: avoid using ROOT in src_compile
ESYSROOT should be used to locate headers and libraries.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild')
-rw-r--r-- | app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild b/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild index 7869c5f026b7..063f8583dbe6 100644 --- a/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild +++ b/app-emulation/docker-cli/docker-cli-20.10.5-r1.ebuild @@ -33,8 +33,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${ROOT}/usr/include" - export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)" emake \ LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \ VERSION="$(cat VERSION)" \ |