termux-packages/packages/libllvm
Tom Yan 1e1167bc1f libllvm: make clang++ order -lm after -lgcc
Without this patch, libm will be linked before libgcc (which is a linker script that links to both libunwind and libgcc_real); as libm.so in our system exports unwind symbols, it prevents the built objects from being linked to the unwinders properly.

Since libm is a part of bionic, we can't ship it like we do for libc++_shared or zlib. Therefore, patching clang++ is probably the only way.
2019-05-16 20:18:48 +03:00
..
build.sh
clang.subpackage.sh
cxx-libm.patch
libclang-dev.subpackage.sh
libclang.subpackage.sh
lld.subpackage.sh
llvm-config.in
llvm.subpackage.sh
nl_types.h
nltypes_stubs.cpp
openmp-config-ix-m32.patch
project-openmp-runtime-src-CMakeLists.txt.patch
tools-clang-lib-Driver-ToolChain.cpp.patch
tools-clang-lib-Driver-ToolChains-Gnu.cpp.patch
tools-clang-lib-Driver-ToolChains-Linux.cpp.patch
tools-llvm-shlib-CMakeLists.txt.patch