summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/avr
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-08 13:03:26 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-08 13:03:26 +0000
commit0b6e44dcd4de61b65c1eb8a9bcfbf275bdab19fb (patch)
tree6534c09d61b0e693d28657b4683d750ff96cda85 /nuttx/arch/avr
parentfbf1b0065abe6e969133cbd9ff0d0973246b0a2a (diff)
Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4573 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/avr')
-rw-r--r--nuttx/arch/avr/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/avr/src/Makefile b/nuttx/arch/avr/src/Makefile
index 6bcb8707b8..7034ef8f40 100644
--- a/nuttx/arch/avr/src/Makefile
+++ b/nuttx/arch/avr/src/Makefile
@@ -115,7 +115,7 @@ board/libboard$(LIBEXT):
nuttx: $(HEAD_OBJ) board/libboard$(LIBEXT)
@echo "LD: nuttx"
@$(LD) --entry=__start $(LDFLAGS) $(LIBPATHS) -o $(NUTTX)$(EXEEXT) $(HEAD_OBJ) $(EXTRA_OBJS) \
- --start-group $(LDLIBS) -lboard --end-group $(EXTRA_LIBS) $(LIBGCC)
+ --start-group $(LDLIBS) -lboard $(EXTRA_LIBS) $(LIBGCC) --end-group
@$(NM) $(NUTTX)$(EXEEXT) | \
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
sort > $(TOPDIR)/System.map