mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
app-containers/docker-cli: Sync with Gentoo and backport fix to stable
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
0bec7ab7b0
commit
23b84073ea
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion go-module
|
||||
inherit shell-completion go-env go-module toolchain-funcs
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
# update this on every bump
|
||||
@ -43,14 +43,14 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
|
||||
CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)"
|
||||
emake \
|
||||
VERSION="${PV}" \
|
||||
GITCOMMIT="${GIT_COMMIT}" \
|
||||
dynbinary manpages
|
||||
|
||||
myemakeargs=(
|
||||
VERSION="${PV}"
|
||||
GITCOMMIT="${GIT_COMMIT}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" dynbinary
|
||||
tc-env_build go-env_run emake "${myemakeargs[@]}" manpages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion go-module
|
||||
inherit shell-completion go-env go-module toolchain-funcs
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
# update this on every bump
|
||||
@ -32,14 +32,14 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
|
||||
CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)"
|
||||
emake \
|
||||
VERSION="${PV}" \
|
||||
GITCOMMIT="${GIT_COMMIT}" \
|
||||
dynbinary manpages
|
||||
|
||||
myemakeargs=(
|
||||
VERSION="${PV}"
|
||||
GITCOMMIT="${GIT_COMMIT}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" dynbinary
|
||||
tc-env_build go-env_run emake "${myemakeargs[@]}" manpages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user