diff options
Diffstat (limited to 'clang/tools/ccc')
-rw-r--r-- | clang/tools/ccc/ccclib/Tools.py | 2 | ||||
-rw-r--r-- | clang/tools/ccc/test/ccc/universal-hello.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py index e61f9d54406..09b6ebd1597 100644 --- a/clang/tools/ccc/ccclib/Tools.py +++ b/clang/tools/ccc/ccclib/Tools.py @@ -442,7 +442,7 @@ class Clang_CompileTool(Tool): else: cmd_args.extend(arglist.renderAsInput(input.source)) - jobs.addJob(Jobs.Command(self.toolChain.getProgramPath('clang'), + jobs.addJob(Jobs.Command(self.toolChain.getProgramPath('clang-cc'), cmd_args)) class Darwin_X86_CC1Tool(Tool): diff --git a/clang/tools/ccc/test/ccc/universal-hello.c b/clang/tools/ccc/test/ccc/universal-hello.c index 65560ecf872..36afd66e793 100644 --- a/clang/tools/ccc/test/ccc/universal-hello.c +++ b/clang/tools/ccc/test/ccc/universal-hello.c @@ -8,7 +8,7 @@ // RUN: xcc -ccc-print-phases -### -arch ppc -arch ppc %s | grep 'linker,' | count 1 && // Check that -ccc-clang-archs is honored. -// RUN: xcc -ccc-clang-archs i386 -### -arch ppc -arch i386 %s 2>&1 | grep 'clang"' | count 1 +// RUN: xcc -ccc-clang-archs i386 -### -arch ppc -arch i386 %s 2>&1 | grep 'clang-cc"' | count 1 int main() { printf("Hello, World!\n"); |