Cmake based LLVM builds don't have svn in their identification.

This commit is contained in:
Andreas Wendleder
2011-07-08 16:59:58 +02:00
committed by Matt Pharr
parent e156651190
commit ae6ee3ea46

View File

@@ -944,7 +944,7 @@ Module::writeObjectFileOrAssembly(OutputType outputType, const char *outFileName
}
std::string featuresString;
#ifdef LLVM_3_0svn
#if defined LLVM_3_0svn || defined LLVM_3_0
llvm::TargetMachine *targetMachine =
target->createTargetMachine(triple.getTriple(), g->target.cpu,
featuresString);