From 09edb565ba8a69f3f2a35de89102e17f715f8e0c Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 21 Mar 2025 08:44:15 +0100 Subject: [PATCH] android: Skip unknown ABIs when building OpenSSL Newer NDKs have RISC-V as experimental ABI (not enabled by default, see next commit). If we don't have a mapping for a specific target, OpenSSL falls back to 'android-arm', so that won't really work (interestingly, it does build). --- src/frontends/android/openssl/compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontends/android/openssl/compile.sh b/src/frontends/android/openssl/compile.sh index 4c81a92f5..86bd15c5c 100755 --- a/src/frontends/android/openssl/compile.sh +++ b/src/frontends/android/openssl/compile.sh @@ -35,6 +35,10 @@ x86) x86_64) OPTIONS="android-x86_64" ;; +*) + echo "!! Skipping unknown ABI '${ABI}'" + continue + ;; esac OPTIONS="${OPTIONS} \