From cc8e22b4e940a6d74174343ec16547e3bb52e630 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182333 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CompilerInvocation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Frontend/CompilerInvocation.cpp') diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 3d82d7a3a6..6af3663001 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/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.2.3