[PATCH] Use $(CC) when linking instead of $(LD) and use $(CFLAGS) and?$(EXTRA_CFLAGS) when linking.

Nathan Phillip Brink ohnobinki at ohnopublishing.net
Thu Mar 24 23:22:18 UTC 2011


On Thu, Mar 10, 2011 at 08:32:58AM +0100, Bernhard Reutner-Fischer wrote:
> Hi,
> 
> I tend to think that keeping EXTRA_LDFLAGS (or EXTRA_CCLDFLAGS for that matter) would be handy at times.
> The rest lokks good to me.

My patch does, AFAIK, preserve the use of EXTRA_LDFLAGS. I don't
really see a case for EXTRA_CCLDFLAGS because CCLDFLAGS would have an
equivalent functionality to LDFLAGS.

> Acked-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>

Thanks for the ack :-).

To others,

Is there any reason to persist in directly calling ld instead of using
the compiler driver (gcc)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110324/5b8141bb/attachment.asc>


More information about the busybox mailing list