[libc++] Make sure we link all system libraries into the benchmarks
authorLouis Dionne <ldionne@apple.com>
Tue, 8 Oct 2019 16:26:24 +0000 (16:26 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 8 Oct 2019 16:26:24 +0000 (16:26 +0000)
commit32300877f9f450c0a58810d94a905a0fd76f9948
tree10f50bc85599b2fb9843085b72f1f3c437af44e4
parenteb6698572623f7f704596949bfc2a6bdcc7940d1
[libc++] Make sure we link all system libraries into the benchmarks

It turns out that r374056 broke _some_ build bots again, specifically
the ones using sanitizers. Instead of trying to link the right system
libraries to the benchmarks bit-by-bit, let's just link exactly the
system libraries that libc++ itself needs.

llvm-svn: 374079
libcxx/CMakeLists.txt
libcxx/benchmarks/CMakeLists.txt
libcxx/src/CMakeLists.txt