aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-24 00:24:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-24 00:24:37 +0000
commita428df828ea4cc6916ea90dcd9fbbc840776d207 (patch)
tree7852e64f07592946c192e57da7b906b8c302206e /lib/Driver/Tools.cpp
parentd3dfdb8d98c39b400894e40ee679c1e7a3a57bf5 (diff)
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp3
1 files changed, 3 insertions, 0 deletions
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;