Date: Tue, 20 May 2003 17:47:26 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Subject: Re: [kris@FreeBSD.org: cvs commit: ports/devel/avr-libc Makefile] Message-ID: <XFMail.20030520174726.jhb@FreeBSD.org> In-Reply-To: <20030518222126.GA24787@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18-May-2003 Kris Kennaway wrote: > On Sun, May 18, 2003 at 09:35:41PM +0200, Joerg Wunsch wrote: >> As Joerg Wunsch wrote: >> >> > > > FYI. Please see http://bento.freebsd.org/errorlogs/i386-5-full/ for >> > > > the failure log. >> > > >> > > There is no failure log for avr-libc. So what? >> > >> > I see that the last update timestamp on the above URL is May 06, so >> > perhaps you've got a more recent log somewhere? >> >> OK, i found the log on bento. >> >> It still tries to apply that @$%!&ing CPU CFLAG crap to my cross >> compilation. I'm sick of that pessimization now! >> >> I've already got >> >> MAKE_ENV= NO_CPU_CFLAGS=true >> >> in avr-libc/Makefile (long since), that is what i have been told would >> do the trick to get around that braindeadness. > > It looks like jhb added the default -mcpu=pentiumpro to CFLAGS in > r1.13 of bsd.cpu.mk, and it doesn't check for NO_CPU_CFLAGS as it > should. John, can you please investigate this? It is breaking a > number of cross-compilers in the ports collection. It only modifies _CPUCFLAGS: _CPUCFLAGS = -mcpu=pentiumpro Which as you can see at the bottom of bsd.cpu.mk: .if !defined(NO_CPU_CFLAGS) CFLAGS += ${_CPUCFLAGS} .endif Thus it is quite responsive to NO_CPU_CFLAGS: > make -V CFLAGS CPUTYPE="" -O -pipe -mcpu=pentiumpro > make -V CFLAGS CPUTYPE="" NO_CPU_CFLAGS=1 -O -pipe -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030520174726.jhb>