From: Bob Wilson Date: Mon, 10 Oct 2011 18:46:10 +0000 (+0000) Subject: Partially revert r141374: allow use of libc++ prior to Mac OS X 10.7. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30aa95140a1bc19e3e57795c788fb5b4f5921ad7;p=clang Partially revert r141374: allow use of libc++ prior to Mac OS X 10.7. Apple only supports libc++ on OS X 10.7 and later but for the open-source compiler that restriction doesn't make sense. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141566 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 0f9f471790..bb19173086 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -925,11 +925,6 @@ DerivedArgList *Darwin::TranslateArgs(const DerivedArgList &Args, getDriver().Diag(clang::diag::err_drv_invalid_libcxx_deployment) << "iOS 5.0"; } - } else { - if (isMacosxVersionLT(10, 7)) { - getDriver().Diag(clang::diag::err_drv_invalid_libcxx_deployment) - << "Mac OS X 10.7"; - } } break; case LibCXXSimulator_NotAvailable: