File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed
sdk_container/src/third_party/portage-stable/app-containers/docker-cli Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 33
44EAPI=8
55
6- inherit shell-completion go-module
6+ inherit shell-completion go-env go- module toolchain-funcs
77MY_PV=${PV/ _/ -}
88
99# update this on every bump
@@ -43,14 +43,14 @@ src_prepare() {
4343
4444src_compile () {
4545 export DISABLE_WARN_OUTSIDE_CONTAINER=1
46- # setup CFLAGS and LDFLAGS for separate build target
47- # see https://github.com/tianon/docker-overlay/pull/10
48- CGO_CFLAGS+= " -I ${ESYSROOT} /usr/include "
49- CGO_LDFLAGS+= " -L ${ESYSROOT} /usr/ $( get_libdir ) "
50- emake \
51- VERSION= " ${PV} " \
52- GITCOMMIT= " ${GIT_COMMIT } " \
53- dynbinary manpages
46+
47+ myemakeargs=(
48+ VERSION= " ${PV} "
49+ GITCOMMIT= " ${GIT_COMMIT} "
50+ )
51+
52+ emake " ${myemakeargs[@] } " dynbinary
53+ tc-env_build go-env_run emake " ${myemakeargs[@]} " manpages
5454}
5555
5656src_install () {
Original file line number Diff line number Diff line change 33
44EAPI=8
55
6- inherit shell-completion go-module
6+ inherit shell-completion go-env go- module toolchain-funcs
77MY_PV=${PV/ _/ -}
88
99# update this on every bump
@@ -32,14 +32,14 @@ src_prepare() {
3232
3333src_compile () {
3434 export DISABLE_WARN_OUTSIDE_CONTAINER=1
35- # setup CFLAGS and LDFLAGS for separate build target
36- # see https://github.com/tianon/docker-overlay/pull/10
37- CGO_CFLAGS+= " -I ${ESYSROOT} /usr/include "
38- CGO_LDFLAGS+= " -L ${ESYSROOT} /usr/ $( get_libdir ) "
39- emake \
40- VERSION= " ${PV} " \
41- GITCOMMIT= " ${GIT_COMMIT } " \
42- dynbinary manpages
35+
36+ myemakeargs=(
37+ VERSION= " ${PV} "
38+ GITCOMMIT= " ${GIT_COMMIT} "
39+ )
40+
41+ emake " ${myemakeargs[@] } " dynbinary
42+ tc-env_build go-env_run emake " ${myemakeargs[@]} " manpages
4343}
4444
4545src_install () {
You can’t perform that action at this time.
0 commit comments