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

Daniel Dunbar daniel at zuster.org
Fri Nov 20 18:31:29 PST 2009


Author: ddunbar
Date: Fri Nov 20 20:31:29 2009
New Revision: 89534

URL: http://llvm.org/viewvc/llvm-project?rev=89534&view=rev
Log:
Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an alias
for -output-pch=.

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=89534&r1=89533&r2=89534&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Fri Nov 20 20:31:29 2009
@@ -1704,7 +1704,7 @@
     // to be a good reason.
     CmdArgs.push_back("/dev/null");
 
-    CmdArgs.push_back("-output-pch=");
+    CmdArgs.push_back("--output-pch=");
     CmdArgs.push_back(Output.getFilename());
   }
 





More information about the cfe-commits mailing list