ccc: Fix broken assertion.

llvm-svn: 66793
This commit is contained in:
Daniel Dunbar 2009-03-12 15:59:34 +00:00
parent 024882184b
commit f336cc279c
1 changed files with 2 additions and 1 deletions

View File

@ -1272,7 +1272,8 @@ class LipoTool(Tool):
def constructJob(self, phase, arch, jobs, inputs,
output, outputType, arglist, linkingOutput):
assert outputType is Types.ImageType
assert outputType in (Types.ObjectType, Types.ImageType)
cmd_args = ['-create']
cmd_args.extend(arglist.render(output))