Skip to content

Commit 0adff0d

Browse files
committed
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.
1 parent e35ef3b commit 0adff0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build-libcxx.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ build_all() {
147147
-DLIBCXX_CXX_ABI_LIBRARY_PATH=../../libcxxabi/build-$arch-$type/lib \
148148
-DLIBCXX_LIBDIR_SUFFIX="" \
149149
-DLIBCXX_INCLUDE_TESTS=FALSE \
150-
-DCMAKE_SHARED_LINKER_FLAGS="-lunwind" \
151150
-DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=FALSE \
152151
..
153152
$BUILDCMD ${CORES+-j$CORES} generate-cxx-headers

0 commit comments

Comments
 (0)