]> granicus.if.org Git - clang/commit
[Driver] Only use -lc++ on Fuchsia
authorPetr Hosek <phosek@chromium.org>
Fri, 11 May 2018 20:42:31 +0000 (20:42 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 11 May 2018 20:42:31 +0000 (20:42 +0000)
commit01b0b85e241d03e52ad26f2048fce3b4eca43c0f
tree8fbf03626a8c66318a5fa4864e28e5c31334850e
parent1e21071b941a69bc5c65921026fa77c4162e4351
[Driver] Only use -lc++ on Fuchsia

The fact that libc++ depends on libc++abi and libunwind is an internal
detail that's captured by the libc++.so linker script.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Fuchsia.cpp
test/Driver/fuchsia.cpp