summaryrefslogtreecommitdiffstats
path: root/c/src/make/leaf.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-09 16:30:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-09 16:30:35 +0000
commite59d23ad103f8915a264befc855cee1bed2e80e4 (patch)
tree7d438d8bb0eff9ff49792320ddb42de603122c79 /c/src/make/leaf.cfg
parent2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-e59d23ad103f8915a264befc855cee1bed2e80e4.tar.bz2
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS. Ensure LDFLAGS works all the time. Clean up BSPs which defined their own make-exe rules inappropriately.
Diffstat (limited to 'c/src/make/leaf.cfg')
-rw-r--r--c/src/make/leaf.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/make/leaf.cfg b/c/src/make/leaf.cfg
index 1e5f0cbbd5..2e9b102323 100644
--- a/c/src/make/leaf.cfg
+++ b/c/src/make/leaf.cfg
@@ -66,12 +66,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