On Sat, 24.04.2010 at 16:42:37 +0000, Pegasus Mc Cleaft wrote:
> Hello Hackers & Current, 
> 
>       I was wondering it if is possible, or if it can be done so a separate 
> set 
> of CC, CXX, etc can be specified for building the world and kernel 
> independently of a ports build?
> 
>       Right now, I use the base GCC to compile the world and kernel, and 
> GCC44 
> for most of the other ports (when it complies cleanly). But I have to keep 
> editing the /etc/make.conf file to switch between the two. 
> 
>       It may already be implemented, but it would be nice if there was 
> something defined while the kernel and/or world is being built to that a 
> nested block of ifdefs can select which env variables to be set. 

src.conf has already been mentioned, I don't use it myself but have the
following set in make.conf

.if ${.CURDIR:M*/usr/ports/*}
NOCLEANDEPENDS= true
WRKDIRPREFIX=   /usr/obj
.include "/etc/ports.conf"
.endif

I guess you can figure it out from there ...

hth
Ulrich Spörlein
_______________________________________________
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"

Reply via email to