On Thu, 8 Apr 1999, Bruce Evans wrote:

> >> Actually, they don't.  Compiler-specific options can be put in ${CC}.
> >> Perhaps they even should be.
> >
> >But in this case, we want "-Os" (egcs) or "-O2" (gcc) only for
> >building boot -- not for everything.  It could be parameterized with
> >make macros like "OPT_SMALL" and "OPT_FAST" in the *.mk files, I
> >suppose.
> 
> "CC+=-Os" in individual Makefiles works about as well as "CFLAGS+=-Os" for
> adding flags.  That's not very well.  Removing unwanted additions is hard.
> 
> BTW, boot2/Makefile uses "CFLAGS=" to override any previous definition
> of CFLAGS.  This may break `make world' by removing -nostdinc.

Why don't we have a -= operator in make(1)?

> 
> Bruce
> 
> 
> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-current" in the body of the message
> 

 Brian Feldman                _ __ ___ ____  ___ ___ ___  
 gr...@unixhelp.org                _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!      _ __ | _ \__ \ |) |
         http://www.freebsd.org           _ |___/___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to