Rafael Espindola
2008-Jun-19 19:01 UTC
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
The attached patch permits setting the LDFLAGS variable in the call to configure. This is the behavior of configure on gcc trunk. Not sure why llvm-gcc is different. This is necessary for building llvm-gcc in cases where some libraries are in strange places: CPPFLAGS="-I/foo/include" LDFLAGS="-L/foo/lib" configure .... Cheers, -- Rafael Avila de Espindola Google Ireland Ltd. Gordon House Barrow Street Dublin 4 Ireland Registered in Dublin, Ireland Registration Number: 368047 -------------- next part -------------- A non-text attachment was scrubbed... Name: ldflags.patch Type: application/octet-stream Size: 343 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080619/effc5fd8/attachment.obj>
Eric Christopher
2008-Jun-19 19:08 UTC
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
On Jun 19, 2008, at 12:01 PM, Rafael Espindola wrote:> <ldflags.patch>Makes sense to me. If you built with and without LDFLAGS enabled should probably just commit it - or do you need someone to commit for you? -eric
Rafael Espindola
2008-Jun-19 19:54 UTC
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
> Makes sense to me. If you built with and without LDFLAGS enabled > should probably just commit it - or do you need someone to commit for > you?I can commit it. I was just not sure if this was an intentional difference. I am running a bootstrap without a LDFLAGS. Will commit if it pass.> -eric > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >Cheers, -- Rafael Avila de Espindola Google Ireland Ltd. Gordon House Barrow Street Dublin 4 Ireland Registered in Dublin, Ireland Registration Number: 368047