Browse Source

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

This reverts commit e7489a0931667d0f2315f66b54bc9a4295dbc578.

If you need to support the Google Play 16 kiB page size requirement, the recommendation is to use NDK r28c or newer, which automatically aligns binaries correctly.
Sam Lantinga 1 month ago
parent
commit
4f9723ece7
2 changed files with 0 additions and 6 deletions
  1. 0 3
      configure
  2. 0 3
      configure.ac

+ 0 - 3
configure

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

+ 0 - 3
configure.ac

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