diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Driver/Tools.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 4392f4f670..3e1eb886c9 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -55,9 +55,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, else CmdArgs.push_back("-E"); } else if (isa<PrecompileJobAction>(JA)) { - // No special option needed, driven by -x. - // - // FIXME: Don't drive this by -x, that is gross. + CmdArgs.push_back("-emit-pth"); } else { assert(isa<CompileJobAction>(JA) && "Invalid action for clang tool."); |