From: Daniel Dunbar Date: Tue, 24 Mar 2009 00:24:37 +0000 (+0000) Subject: Driver: lipo wasn't being called correctly (translation failure from X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a428df828ea4cc6916ea90dcd9fbbc840776d207;p=clang Driver: lipo wasn't being called correctly (translation failure from 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 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index bd8404b784..b49813a4a3 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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;