[Lldb-commits] fix linux build by using LLVMLibsOptions instead of LD.flags

Filipe Cabecinhas filcab at gmail.com
Mon Apr 30 08:16:13 PDT 2012


Shouldn't this be done for every platform? I don't know in what state the Darwin Makefiles are, or the FreeBSD ones, but it seems like the LLVMLibsOptions variable serves that purpose, in llvm's build system.

Regards,  

  Filipe


On Monday, April 30, 2012 at 12:51 PM, Dragos Tatulea wrote:

> Re-sending this to lldb-commits. Maybe it will get some love here :)
> 
> ---------- Forwarded message ----------
> From: Dragos Tatulea <dragos.tatulea at gmail.com (mailto:dragos.tatulea at gmail.com)>
> Date: Thu, Apr 26, 2012 at 11:39 AM
> Subject: fix linux build by using LLVMLibsOptions instead of LD.flags
> To: lldb-dev at cs.uiuc.edu (mailto:lldb-dev at cs.uiuc.edu)
> 
> 
> Hi,
> 
> Here's a patch that fixes the Linux build. LD.flags is prepended to
> list of objects to be built. This is not right because the linker will
> fail to find the symbols from prepended libs.
> 
> Thanks,
> Dragos
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu (mailto:lldb-commits at cs.uiuc.edu)
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
> 
> 
> Attachments: 
> - lldb_linux_fix_ld_flags_var.patch
> 






More information about the lldb-commits mailing list