ccc: Assume gcc will accept piped assembler input when using generic GCC toolchain.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64775 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py
index c0728f5..2ca0a41 100644
--- a/tools/ccc/ccclib/Tools.py
+++ b/tools/ccc/ccclib/Tools.py
@@ -108,9 +108,10 @@
class GCC_AssembleTool(GCC_Common_Tool):
def __init__(self):
- # We can't generally assume the assembler can take or output
- # on pipes.
- super(GCC_AssembleTool, self).__init__('gcc (as)')
+ # Assume that gcc will do any magic necessary to let the
+ # assembler take piped input.
+ super(GCC_AssembleTool, self).__init__('gcc (as)',
+ Tool.eFlagsPipedInput)
def getGCCExtraArgs(self):
return ['-c']