[cfe-commits] r67611 - /cfe/trunk/lib/Driver/Tools.cpp

Daniel Dunbar daniel at zuster.org
Tue Mar 24 00:21:01 PDT 2009


Author: ddunbar
Date: Tue Mar 24 02:20:59 2009
New Revision: 67611

URL: http://llvm.org/viewvc/llvm-project?rev=67611&view=rev
Log:
Driver: Forward -MMD (not -MM) to clang-cc; this got lost in
translation, the former we support, the later we don't (yet).

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=67611&r1=67610&r2=67611&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Mar 24 02:20:59 2009
@@ -207,7 +207,7 @@
     // -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);





More information about the cfe-commits mailing list