build-libcxx: Stop manually specifying -lunwind

Specifying -lunwind isn't needed if building a version of libcxx
after 5f9be2c3e37c0428ba56876dd84af04b8d9d8915 (Feb 2021); then
libcxx is built with -nostdlib++ which keeps automatically linking
in -lunwind if -unwindlib=libunwind is used.
This commit is contained in:
Martin Storsjö committed 2021-10-01 12:32:47 +03:00
1 parent e35ef3b7d7
commit 0adff0df7d
1 file changed
-1
-1
View File
@@ -147,7 +147,6 @@ build_all() {
-DLIBCXX_CXX_ABI_LIBRARY_PATH=../../libcxxabi/build-$arch-$type/lib \
-DLIBCXX_LIBDIR_SUFFIX="" \
-DLIBCXX_INCLUDE_TESTS=FALSE \
-DCMAKE_SHARED_LINKER_FLAGS="-lunwind" \
-DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=FALSE \
..
$BUILDCMD ${CORES+-j$CORES} generate-cxx-headers