diff gen/cl_options.cpp @ 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.cpp	Wed Jul 15 23:01:51 2009 +0200
+++ b/gen/cl_options.cpp	Fri Jul 17 19:23:20 2009 +0200
@@ -205,8 +205,7 @@
     cl::value_desc("filename"));
     
 
-cl::opt<const llvm::TargetMachineRegistry::entry*, false,
-        llvm::RegistryParser<llvm::TargetMachine> > mArch("march",
+cl::opt<std::string> mArch("march",
     cl::desc("Architecture to generate code for:"));
 
 cl::opt<bool> m32bits("m32",