Date: Thu, 1 Nov 2001 14:03:41 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: 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: <15329.40077.441010.317014@grasshopper.cs.duke.edu> In-Reply-To: <20011027202726.A61277@sunbay.com> References: <200110250728.f9P7Suo32144@freefall.freebsd.org> <20011025103739.B62879@sunbay.com> <15320.6175.46379.397080@grasshopper.cs.duke.edu> <20011025171401.A22980@sunbay.com> <15320.8258.898824.156679@grasshopper.cs.duke.edu> <15320.9098.473721.706566@grasshopper.cs.duke.edu> <20011027202726.A61277@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov writes:
> 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.
>
Using your patch I'm able to do a cross buildworld with CPUTYPE=ev56
in /etc/make.conf. (sysinstall still unhooked from build).
Again, sorry for the delay.
Drew
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15329.40077.441010.317014>
