Allow users to specify -Wl,-native* multiple times if they please
authorChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 16:08:04 +0000 (16:08 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 16:08:04 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24392 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/gccld.cpp

index 5c0fbb90d8547ab359bf191a5dd7497074be2f3f..bad4a9cf06bb8101f2df9dcdab19cdeaa90c4528 100644 (file)
@@ -78,10 +78,10 @@ namespace {
          cl::aliasopt(LinkAsLibrary));
 
   cl::opt<bool>
-  Native("native",
+  Native("native", cl::ZeroOrMore,
          cl::desc("Generate a native binary instead of a shell script"));
   cl::opt<bool>
-  NativeCBE("native-cbe",
+  NativeCBE("native-cbe", cl::ZeroOrMore,
             cl::desc("Generate a native binary with the C backend and GCC"));
 
   cl::opt<bool>