Date: Mon, 29 Oct 2001 05:17:09 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, Bruce Evans <bde@FreeBSD.org>, <alpha@FreeBSD.org>, Matthew Jacob <mjacob@FreeBSD.org> Subject: Re: Makefile.inc1 clobbers CFLAGS (was: Re: cvs commit: src Makefile.inc1) Message-ID: <20011029045531.R5004-100000@delplex.bde.org> In-Reply-To: <20011027202726.A61277@sunbay.com>
index | next in thread | previous in thread | raw e-mail
On Sat, 27 Oct 2001, Ruslan Ermilov wrote:
> On Thu, Oct 25, 2001 at 10:36:58AM -0400, Andrew Gallatin wrote:
> >
> > Andrew Gallatin writes:
> > >
> > > Building now. One more question I have CPUTYPE=ev56
> > > in /etc/make.conf -- will the crossbuild see this, potentially
> > > confusing the x86 gcc?
> >
> > Yes, it will.. :
> >
> > cc1: bad value (ev56) for -mcpu= switch
> >
> > Removing ev56 & restarting...
> >
> This is because Makefile.inc1 sets CFLAGS="-nostdinc ${CFLAGS}" in
> CROSSENV, and that imports currently effective (for host architecture)
> CFLAGS. This is bogus. The attached patch should fix it. Please
> test.
The problem referred to in rev.105 (that setting CFLAGS in Makefile.inc1
doesn't always work because it may be clobbered by the setting in
/etc/make.conf) is still there.
> Bruce, what do you think about bringing COPTFLAGS in userland,
> and adding CINCLUDES?
I think new names in the "application namespace" shouldn't be used in
sys.mk.
Bruce
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011029045531.R5004-100000>
