From: Douglas Gregor Date: Thu, 2 Feb 2012 19:35:15 +0000 (+0000) Subject: Use -isystem rather than relying on -isysroot to work consistently X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59c9c72ba10dc778d326a7715a8f8c39ffa0a3a4;p=clang Use -isystem rather than relying on -isysroot to work consistently git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149626 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/cstd.m b/test/Modules/cstd.m index adef66b45b..85780f49f5 100644 --- a/test/Modules/cstd.m +++ b/test/Modules/cstd.m @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: %clang -fsyntax-only -v -isysroot %S/Inputs/System -fmodules -fmodule-cache-path %t -D__need_wint_t -Werror=implicit-function-declaration %s +// RUN: %clang -fsyntax-only -isystem %S/Inputs/System/usr/include -fmodules -fmodule-cache-path %t -D__need_wint_t -Werror=implicit-function-declaration %s // Supplied by compiler, but referenced from the "/usr/include" module map. @import cstd.float_constants;