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
parent a342941ec1
commit 20ce626654

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