summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-02 19:35:15 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-02 19:35:15 +0000
commit9f93dc75825cf95af8e8ae2d457d3f872d887f06 (patch)
tree6122c0106f6283acdeb1d7c636ccc4130250e741
parent24c2ccc254c15211e070584dc7efccd321a07408 (diff)
downloadbcm5719-llvm-9f93dc75825cf95af8e8ae2d457d3f872d887f06.tar.gz
bcm5719-llvm-9f93dc75825cf95af8e8ae2d457d3f872d887f06.zip
Use -isystem rather than relying on -isysroot to work consistently
llvm-svn: 149626
-rw-r--r--clang/test/Modules/cstd.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/cstd.m b/clang/test/Modules/cstd.m
index adef66b45bf..85780f49f54 100644
--- a/clang/test/Modules/cstd.m
+++ b/clang/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;
OpenPOWER on IntegriCloud