On Thu, 2011 Apr 21 16:36-0400, Chet Ramey wrote:
>
> What is the part of CFLAGS that fixes this, and why not just add it to
> CFLAGS_FOR_BUILD?  CFLAGS_FOR_BUILD is for the `build tools' part of
> the builtins library.

I believe the "+DD64" bit is salient. (Generate 64-bit instead of
32-bit code.)

The problem here is that the makefile is compiling without CFLAGS
(a.k.a. with CFLAGS_FOR_BUILD), and then linking with CFLAGS. Whether
it's CFLAGS or CFLAGS_FOR_BUILD isn't the issue; it's that the makefile
is using one and then the other on the same object.

That said, I'm not sure why CFLAGS and CFLAGS_FOR_BUILD should be
different, given that this is a "simple" build where build = host =
target.


--Daniel


-- 
NAME = Daniel Richard G.     _\|/_    Remember, skunks
MAIL = sk...@iskunk.org     (/o|o\) _- don't smell bad---
MAIL+= sk...@alum.mit.edu   < (^),>     it's the people who
WWW  = (not there yet!)      /   \      annoy us that do!

Reply via email to