Skip to content

Commit

Permalink
try to make core building reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Aug 27, 2024
1 parent b4c15ad commit c060810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ndk-make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ fi

unset RUSTFLAGS

export RUSTFLAGS="-C link-args=-Wl,--build-id=none --remap-path-prefix=$HOME="

TOOLCHAIN="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/$NDK_HOST_TAG"
export CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER="$TOOLCHAIN/bin/armv7a-linux-androideabi16-clang"
export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER="$TOOLCHAIN/bin/aarch64-linux-android21-clang"
Expand Down

0 comments on commit c060810

Please sign in to comment.