Re: searchpath for clang

2011-01-09 Thread Alexander Best
On Sun Jan 9 11, Dimitry Andric wrote: On 2011-01-09 01:50, Alexander Best wrote: i just noticed that when CC is set to clang, target buildworld will honour $PATH, whereas target buildkernel doesn't. shouldn't target buildworld also discarg $PATH? It does discard PATH. See the top

Re: searchpath for clang

2011-01-09 Thread Dimitry Andric
On 2011-01-09 15:31, Alexander Best wrote: ... i really cannot spot the problem on my system. :( ... In file included from /usr/subversion-src/usr.bin/make/parse.c:75: /usr/local/bin/../lib/clang/2.9/include/stdarg.h:47:9: warning: '__GNUC_VA_LIST' macro redefined #define __GNUC_VA_LIST 1

searchpath for clang

2011-01-08 Thread Alexander Best
i just noticed that when CC is set to clang, target buildworld will honour $PATH, whereas target buildkernel doesn't. shouldn't target buildworld also discarg $PATH? i have a clang 2.9 svn snapshot installed under /usr/local/bin and target buildworld failed, because this version was picked up