summaryrefslogtreecommitdiffstats
path: root/make/leaf.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 17:43:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 17:43:22 +0000
commit20e1bdfc0cabb85462b701ae5c91c27e31f91e7c (patch)
treec1424b26e05b249a9ce57b35570cc33ba02295c7 /make/leaf.cfg
parent4fcb2f17d519926a57242a80ba9b6caeaa16d826 (diff)
downloadrtems-20e1bdfc0cabb85462b701ae5c91c27e31f91e7c.tar.bz2
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r--make/leaf.cfg4
1 files changed, 2 insertions, 2 deletions
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