Date: Fri, 9 Apr 1999 17:00:59 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, green@unixhelp.org Cc: current@FreeBSD.ORG, jdp@polstra.com Subject: Re: /sys/boot, egcs vs. gcc, -Os Message-ID: <199904090700.RAA26586@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> "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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904090700.RAA26586>