mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
Merge pull request #2765 from dm0-/docker
app-emulation/docker: Preserve existing CGO_*FLAGS
This commit is contained in:
commit
a0da3467e8
@ -220,8 +220,8 @@ src_compile() {
|
||||
|
||||
# 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="${CGO_CFLAGS} -I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="${CGO_LDFLAGS} -L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# if we're building from a tarball, we need the GITCOMMIT value
|
||||
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
|
||||
|
@ -11,7 +11,7 @@ KEYWORDS="amd64 arm64"
|
||||
|
||||
# Explicitly list all packages that will be built into the image.
|
||||
RDEPEND="
|
||||
=app-emulation/docker-17.06.2-r1
|
||||
=app-emulation/docker-17.06.2-r2
|
||||
=app-emulation/containerd-0.2.9_p7
|
||||
=app-emulation/docker-proxy-0.8.0_p20170410-r1
|
||||
=app-emulation/docker-runc-1.0.0_rc3_p53
|
||||
|
Loading…
x
Reference in New Issue
Block a user