Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Apr 24, 2024
1 parent 3f8d380 commit a638357
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -7910,6 +7910,11 @@ configure_only() {
CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-shared"
fi

# https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md#is-32_bit-on-lp32-y2038
if [ "$TARGET_PLATFORM_NBIT" = 32 ] ; then
CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-year2038"
fi

CONFIGURE_ENVS="$CONFIGURE_ENVS --with-pic
CC='$CC'
CFLAGS='$CFLAGS'
Expand Down

0 comments on commit a638357

Please sign in to comment.