Date: Tue, 17 Aug 2010 13:55:49 +0200 From: Dimitry Andric <dimitry@andric.com> To: Ed Schouten <ed@80386.nl> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: Building world with clang Message-ID: <4C6A78C5.1050405@andric.com> In-Reply-To: <20100817114033.GX2978@hoeg.nl> References: <4C6A7357.8000606@andric.com> <20100817114033.GX2978@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-08-17 13:40, Ed Schouten wrote: >> +#ifndef __FreeBSD__ >> + AddPath(CLANG_PREFIX "/usr/local/include", System, true, false, false); >> +#endif >> >> // Builtin includes use #include_next directives and should be positioned >> // just prior C include dirs. > > Hmmm... Do we really want this? /usr/local/include is omitted from our > compiler include paths on purpose, to prevent accidental linkage against > pieces of software built from ports. That is why it says "#ifndef __FreeBSD__" :) I just changed the "#if 0" from the clangbsd tree to this, so it is more palatable for upstream.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6A78C5.1050405>