Subject: Re: kern/21311: Generic kernel doesnt compile in 1.6.1_STABLE
To: Mipam <mipam@ibb.net>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 04/25/2003 01:01:16
hi,
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.
regards,
--
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --