autotools, android: Support Google Play 16 KB Page Size Requirement

autotools port of commit 4b2aa3f102.

cherry picked from commit e7489a0931
This commit is contained in:
Ozkan Sezer
2025-08-07 20:10:02 +03:00
parent e321995244
commit 9f1cc301a7
2 changed files with 6 additions and 0 deletions

3
configure vendored
View File

@@ -18390,6 +18390,9 @@ fi
BASE_CFLAGS=""
BASE_LDFLAGS=""
case "$host" in
*-*-android*)
BASE_LDFLAGS="-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384"
;;
*-*-cygwin*)
# We build SDL on cygwin without the UNIX emulation layer
save_CFLAGS="$CFLAGS"

View File

@@ -124,6 +124,9 @@ fi
BASE_CFLAGS=""
BASE_LDFLAGS=""
case "$host" in
*-*-android*)
BASE_LDFLAGS="-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384"
;;
*-*-cygwin*)
# We build SDL on cygwin without the UNIX emulation layer
save_CFLAGS="$CFLAGS"