Re: Building world with clang

From: Dimitry Andric <dimitry_at_andric.com>
Date: Tue, 17 Aug 2010 13:55:49 +0200
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.
Received on Tue Aug 17 2010 - 09:55:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC