Skip to content

Commit

Permalink
fix(build): pass -latomic to ld for android targets
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Feb 11, 2024
1 parent 967799f commit 694b1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/docker/android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ ENV PATH=$PATH:/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin \
CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER=armv7a-linux-androideabi21-clang \
CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android21-clang \
CARGO_TARGET_I686_LINUX_ANDROID_LINKER=i686-linux-android21-clang \
CARGO_TARGET_X86_64_LINUX_ANDROID_LINKER=x86_64-linux-android21-clang
CARGO_TARGET_X86_64_LINUX_ANDROID_LINKER=x86_64-linux-android21-clang \
RUSTFLAGS="-C link-arg=-latomic"

0 comments on commit 694b1f0

Please sign in to comment.