Skip to content

Commit 56ef08d

Browse files
committed
Build libcxx without --export-all-symbols
With the latest clang and libcxx, this workaround no longer is necessary.
1 parent b4256fe commit 56ef08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-libcxx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ build_all() {
212212
-DLIBCXX_LIBDIR_SUFFIX="" \
213213
-DLIBCXX_INCLUDE_TESTS=FALSE \
214214
-DCMAKE_CXX_FLAGS="$LIBCXX_VISIBILITY_FLAGS" \
215-
-DCMAKE_SHARED_LINKER_FLAGS="-lunwind -Wl,--export-all-symbols" \
215+
-DCMAKE_SHARED_LINKER_FLAGS="-lunwind" \
216216
-DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=FALSE \
217217
..
218218
make -j$CORES

0 commit comments

Comments
 (0)