Subject: Re: kern/21311: Generic kernel doesnt compile in 1.6.1_STABLE
To: Mipam <firstname.lastname@example.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Date: 04/25/2003 01:01:16
On Fri, Apr 25, 2003 at 12:49:41AM +0200, Mipam wrote:
> I saw it, but i think something needs to change then. Then what is
> the difference between setting: CFLAGS+= -pipe and CFLAGS=-pipe ??
> Same for COPTS? I thought .... += means to add and = means to set.
> What you tell me now is that it makes no difference anyway. Both +=
> and = SETS the options. So it makes me wonder again, whats the use of
> += anyway if the options are set by += instead of adding something
> above the by default defined options like -O2 in sys.mk for example?
the order depends. there is no difference between CFLAGS+=, CFLAGS= or
CFLAGS?= if it's the first one exapanded. see make(1) for details.
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <email@example.com> --