docker: fix LDFLAGS for building docker-cli
This commit is contained in:
parent
4bae8b6cf8
commit
b836a1fa37
@ -104,6 +104,7 @@ termux_step_make() {
|
|||||||
# issue the build command
|
# issue the build command
|
||||||
export VERSION=v${TERMUX_PKG_VERSION}-ce
|
export VERSION=v${TERMUX_PKG_VERSION}-ce
|
||||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||||
|
export LDFLAGS="-L ${TERMUX_PREFIX}/lib -r ${TERMUX_PREFIX}/lib"
|
||||||
make -j ${TERMUX_MAKE_PROCESSES} dynbinary
|
make -j ${TERMUX_MAKE_PROCESSES} dynbinary
|
||||||
unset GOOS GOARCH CGO_LDFLAGS CC CXX CFLAGS CXXFLAGS LDFLAGS
|
unset GOOS GOARCH CGO_LDFLAGS CC CXX CFLAGS CXXFLAGS LDFLAGS
|
||||||
make -j ${TERMUX_MAKE_PROCESSES} manpages
|
make -j ${TERMUX_MAKE_PROCESSES} manpages
|
||||||
|
Loading…
Reference in New Issue
Block a user