]> granicus.if.org Git - clang/commitdiff
Driver: lipo wasn't being called correctly (translation failure from
authorDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 00:24:37 +0000 (00:24 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 00:24:37 +0000 (00:24 +0000)
ccc due to the different way we handle output arguments).

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

lib/Driver/Tools.cpp

index bd8404b784ab5d715c3243839a3c32f7b19c328d..b49813a4a38e8a8a2f69f357ab7013fd4f50ff90 100644 (file)
@@ -495,7 +495,10 @@ void darwin::Lipo::ConstructJob(Compilation &C, const JobAction &JA,
 
   CmdArgs.push_back("-create");
   assert(Output.isFilename() && "Unexpected lipo output.");
+
+  CmdArgs.push_back("-output");
   CmdArgs.push_back(Output.getFilename());
+
   for (InputInfoList::const_iterator
          it = Inputs.begin(), ie = Inputs.end(); it != ie; ++it) {
     const InputInfo &II = *it;