Add CFLAGS to LDFLAGS
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 27 Feb 2009 14:54:04 +0000 (14:54 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 23 Mar 2009 10:49:08 +0000 (21:49 +1100)
commit642466026a078f7c2bf413e94aa720776300b604
tree295af98c069fdac01f9d2b2ecd3f25097ff587aa
parentdcab4e022083fecf221bebf9d6cdbb30b4b33c4d
Add CFLAGS to LDFLAGS

Add the CFLAGS options to LDFLAGS so that the machine option
from CFLAGS is used when linking.  This duplicates the
behavior of automake.

Fixes errors like these:
  ppu-ld: skipping incompatible libc.so when searching for -lc

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
rules.mk