From 18084b5e837c5dfe8a11bf4009f2cfc9c66423cc Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Sat, 25 Apr 2026 23:03:37 -0700 Subject: [PATCH] Limit APK builds to 64-bit ABIs --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3bfe151..31ffc6f 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ APK_OUT ?= build/keepassgo.apk APK_VERSION ?= 0.1.0.1 APP_VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev) GO_LDFLAGS ?= -X git.julianfamily.org/keepassgo/internal/appui.appVersion=$(APP_VERSION) +APK_ARCH ?= arm64,amd64 ANDROID_MIN_SDK ?= 28 ANDROID_TARGET_SDK ?= 35 SIGNKEY ?= @@ -75,6 +76,7 @@ apk-local: android/keepassgo-android.jar ANDROID_NDK_ROOT="$(ANDROID_NDK_ROOT)" \ JAVA_HOME="$(JAVA_HOME)" \ go tool gogio -target android \ + -arch $(APK_ARCH) \ -buildmode exe \ -appid $(APP_ID) \ -ldflags "$(GO_LDFLAGS)" \