Dimitry Andric <dimi...@andric.com> writes: > Alexander Kabaev <kab...@gmail.com> writes: > > 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. :)
I'm not a big fan of "reasonable chances" when it comes to the toolchain. > 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. No, what is used is a variant of method 1 *on top of* method 2 for a very specific case. You need "a special version of clang" (method 2) anyway to support cross-building. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"