On 2010-08-17 15:15, Alexander Kabaev wrote: > Dimitry Andric <dimitry_at_andric.com> wrote: ... >> 1) The "isysroot" method: build a regular version of clang, and make >> sure WMAKEENV contains something like: >> >> CC="${CC} -isysroot ${WORLDTMP} -B${WORLDTMP}/usr/lib/ \ >> -L${WORLDTMP}/usr/lib/" >> >> 2) The "tools-prefix" method: build a special version of clang, that >> has its default search paths for headers, startup objects and >> libraries modified, to look for everything under ${WORLDTMP}. ... > Does method 1) work fine with 'make buildenv'? I doubt that. I would > strongly suggest we should not lose this feature. I do not like the > idea of having to depend on -isystem in CFLAGS in such an environment. I have not tested make buildenv with this method, but since ${CC} is modified, not ${CFLAGS}, there is a reasonable chance that it might work. :) Note a similar method is already being using for the build32 stage on amd64, where ${CC} has a bunch of flags (including -isystem, -L and -B) appended.Received on Tue Aug 17 2010 - 12:21:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC