Files
rustdesk/flutter/ndk_x86.sh
2025-12-04 17:54:07 +08:00

11 lines
261 B
Bash
Executable File

#!/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