[tbb-commits] [builders/tor-browser-build] 08/08: Bug 41152: Do not merge libc++ and libunwind

gitolite role git at cupani.torproject.org
Wed Aug 31 13:13:31 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch main
in repository builders/tor-browser-build.

commit c4c7d4e0acaa070e4153d001612fe780d13a7b2e
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Wed Aug 24 10:58:25 2022 +0200

    Bug 41152: Do not merge libc++ and libunwind
---
 projects/mingw-w64-clang/build | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/projects/mingw-w64-clang/build b/projects/mingw-w64-clang/build
index 92a47cf..313d7e7 100644
--- a/projects/mingw-w64-clang/build
+++ b/projects/mingw-w64-clang/build
@@ -163,24 +163,6 @@ cd build
 make -j[% c("num_procs") %] VERBOSE=1
 make install
 
-# libc++.a depends on libunwind.a. While the linker will automatically link to
-# libc++.a in C++ mode, it won't pick libunwind.a, requiring the caller to
-# explicitly pass -lunwind. To work around that, we merge libunwind.a into
-# libc++.a.
-merge_libs() {
-  cat <<EOF |llvm-ar -M
-CREATE tmp.a
-ADDLIB $1
-ADDLIB $2
-SAVE
-END
-EOF
-  llvm-ranlib tmp.a
-  mv tmp.a $1
-}
-
-merge_libs $distdir/[% c("arch") %]-w64-mingw32/lib/libc++.a $distdir/[% c("arch") %]-w64-mingw32/lib/libunwind.a
-
 # libssp
 # See build-libssp.sh in llvm-mingw
 cd $rootdir

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list