docker: fix LDFLAGS for building docker-cli

This commit is contained in:
Frederico F. de Oliveira 2021-01-24 04:19:13 +00:00 committed by Yaksh Bariya
parent 4bae8b6cf8
commit b836a1fa37
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -104,6 +104,7 @@ termux_step_make() {
# issue the build command
export VERSION=v${TERMUX_PKG_VERSION}-ce
export DISABLE_WARN_OUTSIDE_CONTAINER=1
export LDFLAGS="-L ${TERMUX_PREFIX}/lib -r ${TERMUX_PREFIX}/lib"
make -j ${TERMUX_MAKE_PROCESSES} dynbinary
unset GOOS GOARCH CGO_LDFLAGS CC CXX CFLAGS CXXFLAGS LDFLAGS
make -j ${TERMUX_MAKE_PROCESSES} manpages