From 0b1f476888c638af45c31bca9fbe3bc8180daa8f Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 20 May 2013 23:40:27 +0000 Subject: Revert r182331, these checks should be based on the target not the host. llvm-svn: 182333 --- clang/lib/Frontend/CompilerInvocation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 3d82d7a..6af3663 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1690,7 +1690,6 @@ std::string CompilerInvocation::getModuleHash() const { hsOpts.UseStandardCXXIncludes, hsOpts.UseLibcxx); -#ifdef __APPLE__ // Darwin-specific hack: if we have a sysroot, use the contents and // modification time of // $sysroot/System/Library/CoreServices/SystemVersion.plist @@ -1711,7 +1710,6 @@ std::string CompilerInvocation::getModuleHash() const { code = hash_combine(code, statBuf.st_mtime); } } -#endif return llvm::APInt(64, code).toString(36, /*Signed=*/false); } -- cgit v1.1