From 0adff0df7d4243399fdebb672534dc7bd3037833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 16 Jun 2021 16:13:08 +0300 Subject: [PATCH] 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. --- build-libcxx.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build-libcxx.sh b/build-libcxx.sh index 6fdde00..ba6298d 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -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