summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/InterfaceStubs/driver-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/InterfaceStubs/driver-test.c b/clang/test/InterfaceStubs/driver-test.c
index b34536a2976..62d522fb7b1 100644
--- a/clang/test/InterfaceStubs/driver-test.c
+++ b/clang/test/InterfaceStubs/driver-test.c
@@ -1,6 +1,8 @@
+// REQUIRES: x86-registered-target
// REQUIRES: !system-darwin && !system-windows
-// RUN: %clang -o %t1 -emit-interface-stubs -emit-merged-ifs %s %S/object.c %S/weak.cpp
+// RUN: %clang -o %t1 -target x86_64-unknown-linux-gnu \
+// RUN: -emit-interface-stubs -emit-merged-ifs %s %S/object.c %S/weak.cpp
// RUN: cat %t1.ifs | FileCheck %s
// CHECK-DAG: data
OpenPOWER on IntegriCloud