summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/ccc')
-rw-r--r--clang/tools/ccc/ccclib/ToolChain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py
index 13dc114a97b..083ce38e58b 100644
--- a/clang/tools/ccc/ccclib/ToolChain.py
+++ b/clang/tools/ccc/ccclib/ToolChain.py
@@ -78,7 +78,8 @@ class Darwin_X86_ToolChain(ToolChain):
if (self.driver.cccClang and
self.archName == 'i386' and
- action.inputs[0].type in (Types.CType, Types.CTypeNoPP) and
+ action.inputs[0].type in (Types.CType, Types.CTypeNoPP,
+ Types.ObjCType, Types.ObjCTypeNoPP) and
isinstance(action.phase, Phases.CompilePhase)):
return self.clangTool
OpenPOWER on IntegriCloud