From ae6ee3ea46cc6eb024114d97203f8ca4ba0b592d Mon Sep 17 00:00:00 2001 From: Andreas Wendleder Date: Fri, 8 Jul 2011 16:59:58 +0200 Subject: [PATCH] Cmake based LLVM builds don't have svn in their identification. --- module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.cpp b/module.cpp index 10d74861..d1946449 100644 --- a/module.cpp +++ b/module.cpp @@ -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);