projects/shelled/rustdesk-as-ref/flutter/ndk_x86.sh
2026-04-06 12:04:19 -07:00

11 lines
261 B
Bash

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