From 00623cea09aecb228eca54aac4c6c6baef92ab0c Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 13 Aug 2025 18:02:20 -0400 Subject: [PATCH] android: Recompile your app with 16 KB native library alignment. --- GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index eb02ac25..3fa297b3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -253,7 +253,10 @@ $(ANDROID_TARGETS): CFLAGS += \ -fno-asynchronous-unwind-tables \ -funwind-tables \ -Wno-unknown-warning-option -$(ANDROID_TARGETS): LDFLAGS += --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC +$(ANDROID_TARGETS): LDFLAGS += \ + --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot \ + -Wl,-z,max-page-size=16384 \ + -fPIC $(DEBUG_TARGETS): CFLAGS += -DDEBUG -Og $(DEBUG_TARGETS): LDFLAGS += -Og $(RELEASE_TARGETS): CFLAGS += \