[CMake][runtimes] Use -nodefaultlibs for the runtimes build
authorPetr Hosek <phosek@chromium.org>
Thu, 13 Apr 2017 21:29:03 +0000 (21:29 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 13 Apr 2017 21:29:03 +0000 (21:29 +0000)
commitf571409a02c847ca8cecb0d44afaf2b79f2ca002
treef3cf2287c79c784b93d5d56ea1adeefddcc34db4
parent1505ba826cf4f1065ae0edb1712cc6b4240aa31e
[CMake][runtimes] Use -nodefaultlibs for the runtimes build

We may not have a working C++ standard library at this point so we
shouldn't rely on it when running CMake checks.

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

llvm-svn: 300260
llvm/runtimes/CMakeLists.txt