mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 14:53:47 +08:00
autotools, android: Support Google Play 16 KB Page Size Requirement
autotools port of commit 4b2aa3f102.
This commit is contained in:
@@ -18390,6 +18390,9 @@ 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"
|
||||||
|
|||||||
@@ -124,6 +124,9 @@ 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user