summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Driver/solaris-header-search.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Driver/solaris-header-search.cpp b/test/Driver/solaris-header-search.cpp
index 38f768ccad..d5c3c0dd74 100644
--- a/test/Driver/solaris-header-search.cpp
+++ b/test/Driver/solaris-header-search.cpp
@@ -2,7 +2,7 @@
//
// Sparc, 32bit
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
-// RUN: --target=sparc-sun-solaris2.11 \
+// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC %s
// CHECK_SOLARIS_SPARC: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
@@ -12,7 +12,7 @@
// Sparc, 64bit
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
-// RUN: --target=sparc-sun-solaris2.11 \
+// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC64 %s
// CHECK_SOLARIS_SPARC64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
@@ -22,7 +22,7 @@
// Intel, 32bit
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
-// RUN: --target=i386-pc-solaris2.11 \
+// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X86 %s
// CHECK_SOLARIS_X86: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
@@ -32,7 +32,7 @@
// Intel, 64bit
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
-// RUN: --target=i386-pc-solaris2.11 \
+// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X64 %s
// CHECK_SOLARIS_X64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"