Use -unwindlib=libunwind instead of merging libunwind into libc++

This makes the build of libcxx a bit cleaner, and simplifies later
building and testing of libcxx.
This commit is contained in:
Martin Storsjö committed 2021-10-01 12:31:51 +03:00
1 parent e40ff6ab49
commit e35ef3b7d7
5 files changed
+29 -10

No files matched your search

+1
View File
@@ -224,6 +224,7 @@ int _tmain(int argc, TCHAR* argv[]) {
exec_argv[arg++] = _T("-target");
exec_argv[arg++] = target;
exec_argv[arg++] = _T("-rtlib=compiler-rt");
exec_argv[arg++] = _T("-unwindlib=libunwind");
exec_argv[arg++] = _T("-stdlib=libc++");
exec_argv[arg++] = _T("-fuse-ld=lld");
exec_argv[arg++] = _T("-Qunused-arguments");
+1
View File
@@ -84,6 +84,7 @@ esac
FLAGS="$FLAGS -target $TARGET"
FLAGS="$FLAGS -rtlib=compiler-rt"
FLAGS="$FLAGS -unwindlib=libunwind"
FLAGS="$FLAGS -stdlib=libc++"
FLAGS="$FLAGS -fuse-ld=lld"
FLAGS="$FLAGS -Qunused-arguments"