summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-10-13 17:30:38 +0400
committerSergey Lapin <slapin@ossfans.org>2009-10-13 17:30:38 +0400
commitc9d89f888ec69245c56358b454f37cffd8bb87ac (patch)
tree10d3aefa0fc1c74baeccbc456ce16e0d42816f17 /recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch
parent43653cf44fc541bd55cb094392444a7faa7bb3be (diff)
parent925dea6086bd5f7479eda0226f32bcd46ba025a1 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch')
-rw-r--r--recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch b/recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch
new file mode 100644
index 0000000000..ee32a7966c
--- /dev/null
+++ b/recipes/llvm/llvm2.7/llvm-debugonly-zeroormore.patch
@@ -0,0 +1,13 @@
+Index: trunk/lib/Support/Debug.cpp
+===================================================================
+--- trunk.orig/lib/Support/Debug.cpp 2009-09-17 10:41:42.000000000 +0200
++++ trunk/lib/Support/Debug.cpp 2009-09-17 10:42:55.000000000 +0200
+@@ -48,7 +48,7 @@
+ static cl::opt<DebugOnlyOpt, true, cl::parser<std::string> >
+ DebugOnly("debug-only", cl::desc("Enable a specific type of debug output"),
+ cl::Hidden, cl::value_desc("debug string"),
+- cl::location(DebugOnlyOptLoc), cl::ValueRequired);
++ cl::location(DebugOnlyOptLoc), cl::ValueRequired, cl::ZeroOrMore);
+
+ // isCurrentDebugType - Return true if the specified string is the debug type
+ // specified on the command line, or if none was specified on the command line