[CMake] Link static libunwind and libc++abi into libc++ in Fuchsia toolchain
authorPetr Hosek <phosek@chromium.org>
Wed, 25 Jul 2018 01:44:22 +0000 (01:44 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 25 Jul 2018 01:44:22 +0000 (01:44 +0000)
commit427b895e2f46e757218b203f70c90ed40e4df7dd
tree5177e6a1027aea710590dcd899dc316df3e84268
parent7112483272b333f210cec6c21892b13094fdf26d
[CMake] Link static libunwind and libc++abi into libc++ in Fuchsia toolchain

When building libc++ for Fuchsia, we want to distribute shared libc++,
libc++abi and libunwind as separate libraries, but for static versions
we would like to link all of them into libc++ so -lc++ flag has the same
effect whether shared or static library is being used.

Differential Revision: https://reviews.llvm.org/D49628

llvm-svn: 337877
clang/cmake/caches/Fuchsia-stage2.cmake