]> granicus.if.org Git - clang/commitdiff
Driver: Forward -MMD (not -MM) to clang-cc; this got lost in
authorDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 07:20:59 +0000 (07:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 07:20:59 +0000 (07:20 +0000)
translation, the former we support, the later we don't (yet).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67611 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index a55034722875f8866612f117e38e35d393dcf082..15c0fc998de0940eb0bb9aa4242a992f38d9b578 100644 (file)
@@ -207,7 +207,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     // -fstack-protect.
 
     Args.AddLastArg(CmdArgs, options::OPT_MD);
-    Args.AddLastArg(CmdArgs, options::OPT_MM);
+    Args.AddLastArg(CmdArgs, options::OPT_MMD);
     Args.AddAllArgs(CmdArgs, options::OPT_MF);
     Args.AddLastArg(CmdArgs, options::OPT_MP);
     Args.AddAllArgs(CmdArgs, options::OPT_MT);