Browse Source

openssh: force use 64bit off_t

Fixes https://github.com/termux/termux-packages/issues/3233.
emacs-27
Leonid Plyushch 5 years ago
parent
commit
3670a92a87
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/openssh/build.sh

2
packages/openssh/build.sh

@ -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
}

Loading…
Cancel
Save