Date: Thu, 10 Aug 2006 19:55:08 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: Stanislav Sedov <ssedov@mbsd.msk.ru> Cc: freebsd-ports@freebsd.org Subject: Re: ports without configure do not receive CC Message-ID: <44DB72FC.8010009@gmx.de> In-Reply-To: <20060810214516.7e0ff056@localhost> References: <44DB5692.6040005@gmx.de> <20060810214516.7e0ff056@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Stanislav Sedov wrote: > On Thu, 10 Aug 2006 17:53:54 +0200 > "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> mentioned: > >> Ports that do not set CC in their configure target don't get informed about the value of CC because it is only appended to MAKE_ENV for the configure target. > > I think it doesn't present a big problem for i don't know a single > port that sets up value of CC variable in it's Makefile. Thus, we > have only 3 scenarios: > 1) CC is set up on make commandline (e.g. make CC=xxx). In that case > make program will export value of CC to enviropment and every > make program executed will receive it > 2) CC is exported to sheel enviropment. This case is obvious. > 3) CC was defined in make.conf. In that case if GNU make isn't used > in do-build stage make will re-read make.conf and, thus, honor CC's > value. I think we should not consider GNU make's case - it's used > much less often, than our original make program. Try that one in your make.conf: .if ${CURDIR:M/usr/ports/*} CC= distcc cc CXX= distcc c++ .endif WRKDIRPREFIX=/usr/obj You'll see that in this case it is an issue. And that's exactly how my systems are set up.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DB72FC.8010009>