Merge pull request #5909 from chewitt/sshpass

sshpass: fix build on x86_64
This commit is contained in:
heitbaum 2021-11-23 16:51:21 +11:00 committed by GitHub
commit 4ea12b9d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,8 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="sshpass: a tool for non-interactive ssh password auth"
pre_configure_target(){
if [ "${ARCH}" != "x86_64" ]; then
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
fi
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
}
makeinstall_target() {