Fix OpenSSL build with Android NDK clang on x86 (#13684)

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
Vasyl Gello 2025-12-04 11:54:07 +02:00 committed by GitHub
commit 20ce626654
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,2 +1,10 @@
#!/usr/bin/env bash
#
# Fix OpenSSL build with Android NDK clang on 32-bit architectures
#
export CFLAGS="-DBROKEN_CLANG_ATOMICS"
export CXXFLAGS="-DBROKEN_CLANG_ATOMICS"
cargo ndk --platform 21 --target i686-linux-android build --release --features flutter