On Fri, 2011 Apr 22 10:08-0400, Chet Ramey wrote:
>
> That's not what actually happens.  CCFLAGS and CCFLAGS_FOR_BUILD share
> a common set of options but differ in their use of CPPFLAGS and
> CFLAGS. The link is done with LDFLAGS_FOR_BUILD.  It's hard to tell
> where the DD64 is coming from, since it doesn't get added by anything
> in the bash configure scripts, but I suspect it gets put into
> LOCAL_DEFS somehow.

+DD64 is from CFLAGS in the environment prior to configuration.

Broadly speaking, linking needs to be done with CFLAGS + LDFLAGS (not
just LDFLAGS) precisely because of flags like this. This is already how
Automake does things; the bug comes down to bash's build system not
following existing convention. It's not reasonable to have to duplicate
CFLAGS in LDFLAGS to avoid the reported link error.


--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