From 76b3581a72458d06000d5f21206322f9f1e128c1 Mon Sep 17 00:00:00 2001 From: baizon Date: Sat, 3 Aug 2024 00:39:52 +0200 Subject: [PATCH] chore: update bitbox-wallet-app-ci to 24 --- backend/mobileserver/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mobileserver/Makefile b/backend/mobileserver/Makefile index 921b62990b..d5afed7786 100644 --- a/backend/mobileserver/Makefile +++ b/backend/mobileserver/Makefile @@ -3,8 +3,8 @@ include ../../android-env.mk.inc # GOMODCACHE to /tmp directory, because gomobile needs to write pkgs. # Also set -glflags to fix the vendor issue with gomobile, see: https://github.com/golang/go/issues/67927#issuecomment-2241523694 build-android: - GOMODCACHE=${GOMODCACHE_ROOT} ANDROID_HOME=${ANDROID_SDK_ROOT} gomobile bind -x -a -glflags="-mod=mod" -ldflags="-s -w" -target android . + GOMODCACHE=${GOMODCACHE_ROOT} ANDROID_HOME=${ANDROID_SDK_ROOT} gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target android . build-ios: - GOMODCACHE=${GOMODCACHE_ROOT} gomobile bind -x -a -glflags="-mod=mod" -ldflags="-s -w" -target ios,iossimulator . + GOMODCACHE=${GOMODCACHE_ROOT} gomobile bind -x -a -glflags="-mod=readonly" -ldflags="-s -w" -target ios,iossimulator . clean: rm -f mobileserver.aar mobileserver-sources.jar