"This patch adds paths for Fedora 9 in clang.cpp and support for two preprocessor options in ccc."
Patch by Zhongxing Xu!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53976 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc b/utils/ccc
index d29443c..e172080 100755
--- a/utils/ccc
+++ b/utils/ccc
@@ -102,6 +102,10 @@
if arg in ['--param', '-u']:
i += 1
+ # Preprocessor options with one argument that should be ignored
+ if arg in ['-MT', '-MF']:
+ i += 1
+
# Prefix matches for the compile mode
if arg[:2] in ['-D', '-I', '-U', '-F']:
if not arg[2:]: