mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-19 05:13:08 +00:00
Merge remote-tracking branch 'origin/13' into snapshot
This commit is contained in:
commit
ae2d02698a
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -92,7 +92,7 @@ llvm-toolchain-snapshot (1:13~++20210129063721+010b176cdefb-1~exp1) experimental
|
||||
llvm-toolchain-12 (1:12.0.1-4) UNRELEASED; urgency=medium
|
||||
|
||||
* Make libunwind-dev depends on libunwind
|
||||
* Don't build libunwind on armel & mipsel
|
||||
* Don't build libunwind on hurd, armel, powerpc & mipsel
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 08 Aug 2021 10:58:54 +0200
|
||||
|
||||
|
3
debian/qualify-clang.sh
vendored
3
debian/qualify-clang.sh
vendored
@ -952,7 +952,8 @@ int main() {
|
||||
std::cout << "Hello World!" << std::endl;
|
||||
}
|
||||
EOF
|
||||
clang++-$VERSION -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp &> /dev/null || true
|
||||
clang++-$VERSION -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp -lpthread -ldl -o test
|
||||
./test
|
||||
|
||||
clang++-$VERSION -stdlib=libc++ -static-libstdc++ -fuse-ld=lld -l:libc++abi.a test.cpp -o test
|
||||
./test
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -194,7 +194,7 @@ endif
|
||||
|
||||
# Enable libunwind (or not)
|
||||
LIBUNWIND_ENABLE=yes
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel mipsel))
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel mipsel hurd-i386 powerpc))
|
||||
LIBUNWIND_ENABLE=no
|
||||
else
|
||||
PROJECTS+=;libunwind
|
||||
|
Loading…
Reference in New Issue
Block a user