Lines 20-26
Link Here
|
20 |
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!" |
20 |
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!" |
21 |
fi |
21 |
fi |
22 |
|
22 |
|
23 |
inherit bash-completion-r1 linux-info systemd udev user |
23 |
inherit bash-completion-r1 linux-info multilib systemd udev user |
24 |
|
24 |
|
25 |
LICENSE="Apache-2.0" |
25 |
LICENSE="Apache-2.0" |
26 |
SLOT="0" |
26 |
SLOT="0" |
Lines 145-151
Link Here
|
145 |
# setup CFLAGS and LDFLAGS for separate build target |
145 |
# setup CFLAGS and LDFLAGS for separate build target |
146 |
# see https://github.com/tianon/docker-overlay/pull/10 |
146 |
# see https://github.com/tianon/docker-overlay/pull/10 |
147 |
export CGO_CFLAGS="-I${ROOT}/usr/include" |
147 |
export CGO_CFLAGS="-I${ROOT}/usr/include" |
148 |
export CGO_LDFLAGS="-L${ROOT}/usr/lib" |
148 |
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" |
149 |
|
149 |
|
150 |
# if we're building from a zip, we need the GITCOMMIT value |
150 |
# if we're building from a zip, we need the GITCOMMIT value |
151 |
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT |
151 |
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT |