From da51ef0d6e685550e8a0b30cbe2fb29e39f04146 Mon Sep 17 00:00:00 2001 From: xyllery-7 <95232743+xyllery-7@users.noreply.github.com> Date: Thu, 2 Dec 2021 21:24:24 +0000 Subject: [PATCH] Remove AR from unset variables in Rust build.sh --- packages/rust/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rust/build.sh b/packages/rust/build.sh index a7068079d..054e4fe81 100644 --- a/packages/rust/build.sh +++ b/packages/rust/build.sh @@ -43,7 +43,7 @@ termux_step_configure() { export CC_x86_64_unknown_linux_gnu=gcc export CFLAGS_x86_64_unknown_linux_gnu="-O2" export LLVM_VERSION=$(grep ^TERMUX_PKG_VERSION= $TERMUX_PKG_BUILDER_DIR/../libllvm/build.sh | cut -f2 -d=) - unset CC CXX CPP LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS PKG_CONFIG AR RANLIB + unset CC CXX CPP LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS PKG_CONFIG RANLIB # we can't use -L$PREFIX/lib since it breaks things but we need to link against libLLVM-9.so ln -sf $PREFIX/lib/libLLVM-$LLVM_VERSION.so $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/