[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure

Rafael Espindola espindola at google.com
Thu Jun 19 12:01:36 PDT 2008

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

Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4

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>

More information about the llvm-dev mailing list