diff options
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r-- | platform/android/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 2a80a3c45b..8808b032a6 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -285,6 +285,9 @@ def configure(env): ) env.Append(CPPDEFINES=["NO_STATVFS", "GLES_ENABLED"]) + if get_platform(env["ndk_platform"]) >= 24: + env.Append(CPPDEFINES=[("_FILE_OFFSET_BITS", 64)]) + env["neon_enabled"] = False if env["android_arch"] == "x86": target_opts = ["-target", "i686-none-linux-android"] |