[PATCH] test: Disable standard system includes in %clang_cc1
Richard Smith
richard at metafoo.co.uk
Fri Oct 3 15:22:52 PDT 2014
LGTM
On 3 Oct 2014 15:18, "Justin Bogner" <mail at justinbogner.com> wrote:
> This adds -nostdsysteminc to the %clang_cc1 expansion, which should
> make it harder to accidentally write tests that depend on headers in
> /usr/include. It also updates a few tests that use -isysroot <x> and a
> darwin triple to omit the triple and use -isystem <x>/usr/include
> instead, making them a little bit more general.
>
> Incidentally, this fixes a test failure I'm seeing on darwin in
> Modules/stddef.c, that happens because my system finds a stddef.h in
> /usr/include.
>
> Okay to commit?
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141003/dd57321b/attachment.html>
More information about the cfe-commits
mailing list