From owner-freebsd-current Fri Apr 9 0: 3: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id E243314F96 for ; Fri, 9 Apr 1999 00:03:00 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA26586; Fri, 9 Apr 1999 17:00:59 +1000 Date: Fri, 9 Apr 1999 17:00:59 +1000 From: Bruce Evans Message-Id: <199904090700.RAA26586@godzilla.zeta.org.au> To: bde@zeta.org.au, green@unixhelp.org Subject: Re: /sys/boot, egcs vs. gcc, -Os Cc: current@FreeBSD.ORG, jdp@polstra.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> "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