Building world with clang

Ed Schouten ed at 80386.nl
Tue Aug 17 11:59:59 UTC 2010


* Dimitry Andric <dimitry at andric.com> wrote:
> 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.

Sorry about that. I only read the `#if 0' part.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100817/0fe49d6a/attachment.pgp


More information about the freebsd-current mailing list