mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 14:07:28 +08:00
Fix OpenSSL build with Android NDK clang on x86 (#13684)
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user