Subject: Re: CVS commit: pkgsrc/bootstrap
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-changes
Date: 08/21/2007 14:10:23
On Sat, Aug 18, 2007 at 11:01:29AM +0000, Georg Schwarz wrote:
> Log Message:
> do not add preset CFLAGS, CPPFLAGS or LDFLAGS to BOOTSTRAP_MKCONF since on
> bootstrap time these variables are already set as shell variables. As a
> result, they were doubled for bootstrap compiling.
> An alternative solution to that issue would be to explicitly empty those
> shell variables once they have been added to BOOTSTRAP_MKCONF, but that
> approach would use more lines of shell code :-)

I would actually prefer the latter. I want to keep the amount of magic
as small as possible and BOOTSTRAP_MKCONF as first place to look for the
cflags.

Joerg