From 074e1b47a363bdec3e9ce976b3b0fd6927c5096e Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 31 Jul 2018 11:36:14 +0000 Subject: [PATCH] Fix linux-header-search.cpp with CLANG_DEFAULT_CXX_STDLIB This configuration was broken after r338294 because Clang might be configured to always use libc++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338360 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/linux-header-search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Driver/linux-header-search.cpp b/test/Driver/linux-header-search.cpp index 6d1c22067a..f545b439b4 100644 --- a/test/Driver/linux-header-search.cpp +++ b/test/Driver/linux-header-search.cpp @@ -496,7 +496,7 @@ // Check header search on OpenEmbedded ARM. // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ -// RUN: -target arm-oe-linux-gnueabi \ +// RUN: -target arm-oe-linux-gnueabi -stdlib=libstdc++ \ // RUN: --sysroot=%S/Inputs/openembedded_arm_linux_tree \ // RUN: | FileCheck --check-prefix=CHECK-OE-ARM %s @@ -507,7 +507,7 @@ // Check header search on OpenEmbedded AArch64. // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ -// RUN: -target aarch64-oe-linux \ +// RUN: -target aarch64-oe-linux -stdlib=libstdc++ \ // RUN: --sysroot=%S/Inputs/openembedded_aarch64_linux_tree \ // RUN: | FileCheck --check-prefix=CHECK-OE-AARCH64 %s -- 2.40.0