[PATCH] test: Disable standard system includes in %clang_cc1
Justin Bogner
mail at justinbogner.com
Fri Oct 3 15:33:27 PDT 2014
r219030. Thanks!
Richard Smith <richard at metafoo.co.uk> writes:
> 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
More information about the cfe-commits
mailing list