We really need a 'SYSTEM_COMPILER={gcc,clang,xxx}' sort of knob. Warner
On Aug 18, 2011, at 2:04 PM, Kostik Belousov wrote: > On Thu, Aug 18, 2011 at 09:54:41PM +0200, Dimitry Andric wrote: >> The problem is in your make.conf. Effectively, you are doing: >> >> CC = clang >> CXX = clang++ >> >> which will not work, at least not for the 32-bit compat stage on amd64. >> Please use the following fragment instead, which is recommended on >> <http://wiki.freebsd.org/BuildingFreeBSDWithClang>: >> >> .if !defined(CC) || ${CC} == "cc" >> CC=clang >> .endif >> .if !defined(CXX) || ${CXX} == "c++" >> CXX=clang++ >> .endif >> .if !defined(CPP) || ${CPP} == "cpp" >> CPP=clang -E >> .endif > > May be, add the commented out lines into share/examples/etc/make.conf ? _______________________________________________ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"