]> granicus.if.org Git - clang/commitdiff
Partially revert r141374: allow use of libc++ prior to Mac OS X 10.7.
authorBob Wilson <bob.wilson@apple.com>
Mon, 10 Oct 2011 18:46:10 +0000 (18:46 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 10 Oct 2011 18:46:10 +0000 (18:46 +0000)
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

lib/Driver/ToolChains.cpp

index 0f9f4717900f822bb55015f431edc3e337336923..bb19173086c68cbb0f7e65c2b709ed464e872743 100644 (file)
@@ -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: