From fb2205a11b25796f47b950ab64ff9e2446a55301 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 9 Sep 2008 16:30:27 +0000 Subject: 2008-09-09 Joel Sherrill * leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg, custom/gen5200.cfg, custom/gen83xx.cfg, custom/genmcf548x.cfg, custom/mbx8xx.cfg, custom/mpc55xx.cfg, custom/nds.cfg, custom/pc386.cfg, custom/tqm8xx.cfg: Remove use of AM_LDFLAGS. Ensure LDFLAGS works all the time. Clean up BSPs which defined their own make-exe rules inappropriately. --- make/leaf.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/leaf.cfg') diff --git a/make/leaf.cfg b/make/leaf.cfg index 218dcdc4cc..4515951bc8 100644 --- a/make/leaf.cfg +++ b/make/leaf.cfg @@ -117,12 +117,12 @@ endif DOWNEXT=.ralf define bsp-link-c - $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ + $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) endef define bsp-link-cxx - $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ + $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) endef -- cgit v1.2.3