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
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ termux_step_pre_configure() {
## prefixed path to program '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
LDFLAGS+=" -llog" # liblog for android logging in syslog hack
}