From 20e1bdfc0cabb85462b701ae5c91c27e31f91e7c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 15 Sep 2008 17:43:22 +0000 Subject: 2008-09-15 Joel Sherrill * leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in make-exe and make-cxx-exe definitions. This was resulting in the linker script being processed twice and breaking some BSPs. --- make/ChangeLog | 6 ++++++ make/leaf.cfg | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'make') diff --git a/make/ChangeLog b/make/ChangeLog index 9d656b6e97..a08c68ba78 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,9 @@ +2008-09-15 Joel Sherrill + + * leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in + make-exe and make-cxx-exe definitions. This was resulting in the + linker script being processed twice and breaking some BSPs. + 2008-09-09 Joel Sherrill * leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg, diff --git a/make/leaf.cfg b/make/leaf.cfg index 4515951bc8..218dcdc4cc 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) $(LDFLAGS) \ + $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) endef define bsp-link-cxx - $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) endef -- cgit v1.2.3