From 32fefef7fc8c89738fc5589e48f9935d56b0b590 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Mon, 23 Oct 2017 09:08:28 +0000 Subject: [PATCH] [MinGW] Omit libc++/libc++abi/libunwind from autoexporting Differential Revision: https://reviews.llvm.org/D39167 llvm-svn: 316318 --- lld/COFF/MinGW.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lld/COFF/MinGW.cpp b/lld/COFF/MinGW.cpp index 6943561..1337f13 100644 --- a/lld/COFF/MinGW.cpp +++ b/lld/COFF/MinGW.cpp @@ -66,6 +66,9 @@ AutoExporter::AutoExporter() { "libclang_rt.builtins-arm", "libclang_rt.builtins-i386", "libclang_rt.builtins-x86_64", + "libc++", + "libc++abi", + "libunwind", }; ExcludeObjects = { "crt0.o", -- 2.7.4