Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Fix for r23b
Browse files Browse the repository at this point in the history
  • Loading branch information
Zackptg5 committed Nov 27, 2021
1 parent 1ce0984 commit d63f9fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
# 36) Fix data home directory
# 37) Openssl OCSP doesn't yet work, disable it for now
# 38) Duplicate definition of time
# 39 Fix htoprc path
# 39) Fix htoprc path
# 40) Missing libgcc rust workaround

echored () {
echo "${textred}$1${textreset}"
Expand Down Expand Up @@ -1022,7 +1023,7 @@ textreset=$(tput sgr0)
textgreen=$(tput setaf 2)
textred=$(tput setaf 1)
dir=$PWD
ndk=r21e #LTS NDK
ndk=r23b #LTS NDK
static=true
sep=false
OIFS=$IFS; IFS=\|;
Expand Down Expand Up @@ -1068,12 +1069,11 @@ export PATH=$toolchain:$PATH
# Create needed symlinks
if [ $ndknum -ge 23 ]; then
for i in aarch64-linux-android arm-linux-androideabi x86_64-linux-android i686-linux-android; do
echo 'INPUT(-lunwind)' > $toolchain/../sysroot/usr/lib/$i/libgcc.a #40
ln -sf $toolchain/llvm-ar $toolchain/$i-ar
ln -sf $toolchain/ld $toolchain/$i-ld
ln -sf $toolchain/llvm-ranlib $toolchain/$i-ranlib
ln -sf $toolchain/llvm-strip $toolchain/$i-strip
[ "$i" == "armv7a-linux-androideabi" ] && j="arm-linux-androideabi" || j=$i
# ln -sf $toolchain/$i-clang $toolchain/$i-as
done
fi
for i in ar as ld ranlib strip clang gcc clang++ g++; do
Expand Down

0 comments on commit d63f9fb

Please sign in to comment.