From 56ef08dadcb060b6ff94536ed8269f47ec3d6278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 29 Jan 2019 11:04:38 +0200 Subject: [PATCH] Build libcxx without --export-all-symbols With the latest clang and libcxx, this workaround no longer is necessary. --- build-libcxx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-libcxx.sh b/build-libcxx.sh index 8cf746a..8577d27 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -212,7 +212,7 @@ build_all() { -DLIBCXX_LIBDIR_SUFFIX="" \ -DLIBCXX_INCLUDE_TESTS=FALSE \ -DCMAKE_CXX_FLAGS="$LIBCXX_VISIBILITY_FLAGS" \ - -DCMAKE_SHARED_LINKER_FLAGS="-lunwind -Wl,--export-all-symbols" \ + -DCMAKE_SHARED_LINKER_FLAGS="-lunwind" \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=FALSE \ .. make -j$CORES