>> "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.

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

Substitution can replace -= in may cases, e.g.:

CC:=    ${CC:S/-Os//}

This is "hard" because it has to be coded in the makefile, while additions
can be passed to make.

Bruce


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

Reply via email to