Files
rustdesk/flutter/ndk_x86.sh
2026-05-26 11:45:15 +08:00

11 lines
270 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 --locked --release --features flutter