diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-24 00:24:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-24 00:24:37 +0000 |
commit | 06686abfdcc50734e68e0a7e0e15afaa6f71eb43 (patch) | |
tree | 8970d5cc6c4280762b7b92cbc89e71230d43b7a5 /clang/lib/Driver/Tools.cpp | |
parent | b5860facfd4d4327607cff94ca45d45b63959b2e (diff) | |
download | bcm5719-llvm-06686abfdcc50734e68e0a7e0e15afaa6f71eb43.tar.gz bcm5719-llvm-06686abfdcc50734e68e0a7e0e15afaa6f71eb43.zip |
Driver: lipo wasn't being called correctly (translation failure from
ccc due to the different way we handle output arguments).
llvm-svn: 67583
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index bd8404b784a..b49813a4a38 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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; |