WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] build fixes for cross-compiling

Jan Beulich writes ("Re: [Xen-devel] [PATCH] build fixes for cross-compiling"):
> Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > We have LDFLAGS_DIRECT, adding LDFLAGS_INDIRECT seems a bit gross
> > though... I wonder if perhaps LDFLAGS and LDFLAGS_DIRECT should be
> > mut8lly exclusive, i.e. direct calls to the linker use only the latter
> > and not both?
> 
> Actually I always found it wrong to read commands like "$(CC) $(LDFLAGS)"
> - imo xxxFLAGS should be passed exclusively to tool xxx. So rather than
> having LDFLAGS_DIRECT, I'd suggest cleaning this up and having e.g.
> CCLDFLAGS or CC_LINK_FLAGS or some such.

Yes, I agree.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel