ccc: Fix broken assertion.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66793 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py
index 5ae8fdd..56e2032 100644
--- a/tools/ccc/ccclib/Tools.py
+++ b/tools/ccc/ccclib/Tools.py
@@ -1272,7 +1272,8 @@
 
     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))