openssh: force use 64bit off_t

Fixes https://github.com/termux/termux-packages/issues/3233.
This commit is contained in:
Leonid Pliushch 2019-09-22 23:56:26 +03:00
parent 48af93849f
commit f75ed291d1

View File

@ -56,7 +56,7 @@ termux_step_pre_configure() {
## prefixed path to program 'passwd' ## prefixed path to program 'passwd'
export PATH_PASSWD_PROG="${TERMUX_PREFIX}/bin/passwd" export PATH_PASSWD_PROG="${TERMUX_PREFIX}/bin/passwd"
CPPFLAGS+=" -DHAVE_ATTRIBUTE__SENTINEL__=1 -DBROKEN_SETRESGID" CPPFLAGS+=" -DHAVE_ATTRIBUTE__SENTINEL__=1 -DBROKEN_SETRESGID -DTERMUX_EXPOSE_FILE_OFFSET64"
LD=$CC # Needed to link the binaries LD=$CC # Needed to link the binaries
LDFLAGS+=" -llog" # liblog for android logging in syslog hack LDFLAGS+=" -llog" # liblog for android logging in syslog hack
} }