diff gen/cl_options.h @ 1544:8863cf7236e6

We need to parse mArch ourselves now Build fix for LLVM r75890
author Benjamin Kramer <benny.kra@gmail.com>
date Fri, 17 Jul 2009 19:23:20 +0200
parents 1311dabc6a1f
children 9176437d98be
line wrap: on
line diff
--- a/gen/cl_options.h	Wed Jul 15 23:01:51 2009 +0200
+++ b/gen/cl_options.h	Fri Jul 17 19:23:20 2009 +0200
@@ -6,8 +6,6 @@
 #include <deque>
 #include <vector>
 
-#include "llvm/Support/RegistryParser.h"
-#include "llvm/Target/TargetMachineRegistry.h"
 #include "llvm/Support/CommandLine.h"
 
 namespace opts {
@@ -37,8 +35,7 @@
     extern cl::list<std::string> versions;
     extern cl::opt<std::string> moduleDepsFile;
 
-    extern cl::opt<const llvm::TargetMachineRegistry::entry*, false,
-                    llvm::RegistryParser<llvm::TargetMachine> > mArch;
+    extern cl::opt<std::string> mArch;
     extern cl::opt<bool> m32bits;
     extern cl::opt<bool> m64bits;
     extern cl::opt<std::string> mCPU;