Fix test to work when clang is built without powerpc64 support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158370 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c
index cc368bb..76196da 100644
--- a/test/Driver/clang-translation.c
+++ b/test/Driver/clang-translation.c
@@ -52,21 +52,24 @@
// ARMV5E: "-cc1"
// ARMV5E: "-target-cpu" "arm1022e"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
// RUN: -mcpu=G5
// RUN: FileCheck -check-prefix=PPCG5 %s < %t.log
// PPCG5: clang
// PPCG5: "-cc1"
// PPCG5: "-target-cpu" "g5"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
// RUN: -mcpu=power7
// RUN: FileCheck -check-prefix=PPCPWR7 %s < %t.log
// PPCPWR7: clang
// PPCPWR7: "-cc1"
// PPCPWR7: "-target-cpu" "pwr7"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log
// RUN: FileCheck -check-prefix=PPC64NS %s < %t.log
// PPC64NS: clang
// PPC64NS: "-cc1"