]> granicus.if.org Git - clang/commit
[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)
commit348f122f0a14a97df540a488bf5133fe6b9a6fa8
treeb79cbf6611a51e0fa84ec42b760698319731cfbb
parentcbf42820fad10b5dcd0320bfa14df151ef25cfc2
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337877 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/caches/Fuchsia-stage2.cmake