fix
This commit is contained in:
parent
bc246043dd
commit
4c114a7716
@ -11,7 +11,7 @@ HOST_CMAKE_C_COMPILER="/usr/bin/clang-10"
|
||||
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-10"
|
||||
HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
|
||||
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
|
||||
# Build tdlib tools
|
||||
cd implementations/tdlight/td_tools_build
|
||||
|
@ -11,7 +11,7 @@ HOST_CMAKE_C_COMPILER="/usr/bin/clang-14"
|
||||
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14"
|
||||
HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
|
||||
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
|
||||
# Build tdlib tools
|
||||
cd implementations/tdlight/td_tools_build
|
||||
|
@ -12,7 +12,7 @@ HOST_CMAKE_C_COMPILER="/usr/bin/clang-10"
|
||||
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-10"
|
||||
HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
|
||||
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
|
||||
# Build tdlib tools
|
||||
cd implementations/tdlight/td_tools_build
|
||||
|
@ -21,5 +21,10 @@ mv /usr/lib/llvm-10/lib/libc++abi.so /usr/lib/aarch64-linux-gnu/
|
||||
apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-10-dev libc++abi-10-dev
|
||||
# End libc++ packages bugfix
|
||||
|
||||
# Add arm64 common files
|
||||
apt-get download libclang-common-10-dev:arm64
|
||||
dpkg-deb -xv libclang-common-10-dev_*_arm64.deb /
|
||||
|
||||
|
||||
# Install dependencies
|
||||
apt-get --assume-yes install libssl-dev:arm64 zlib1g-dev:arm64 openjdk-8-jdk-headless:arm64 libgcc-9-dev:arm64 libc6-dev:arm64
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 9c805dc438a3611023aa0fb709746d4f70169539
|
||||
Subproject commit 941051933e07d2f9bec679d515d4cb3083a17482
|
Loading…
Reference in New Issue
Block a user