|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] build fixes for cross-compiling
 
On 29/09/2011 01:22, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:
>>>> On 29.09.11 at 10:00, 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.
Or perhaps we could arrange to only link via direct invocation of ld? Apart
from the hassle of changing all our Makefiles, is there a good reason to use
gcc as a linker wrapper?
 -- Keir
> Jan
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |