aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-21 02:31:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-21 02:31:29 +0000
commite6c9ae147835fb450a90800bd378420c0e5ffb35 (patch)
treed557be996c84dc9083d400d9923f3cb0e96ef114 /lib/Driver/Tools.cpp
parent8ea06e95c396aa56a24cc9325d7ac6b27422adcf (diff)
Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an alias
for -output-pch=. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 265987ea70..69de2d3467 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1704,7 +1704,7 @@ void darwin::Compile::ConstructJob(Compilation &C, const JobAction &JA,
// 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());
}