diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-01 22:19:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-01 22:19:20 +0000 |
commit | 51f96a502ea130e3d83eff679b560608a8246a75 (patch) | |
tree | e369db19378fc1244ded2d76e0c5e86765305eeb /nuttx/arch | |
parent | 5551ed84bf3a90972b46c67808d8ed24e6ca07d8 (diff) | |
download | px4-nuttx-51f96a502ea130e3d83eff679b560608a8246a75.tar.gz px4-nuttx-51f96a502ea130e3d83eff679b560608a8246a75.tar.bz2 px4-nuttx-51f96a502ea130e3d83eff679b560608a8246a75.zip |
Added lseek()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@612 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sim/src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/Makefile b/nuttx/arch/sim/src/Makefile index ea92eb50c..7a5e1c7ff 100644 --- a/nuttx/arch/sim/src/Makefile +++ b/nuttx/arch/sim/src/Makefile @@ -60,9 +60,9 @@ SRCS = $(ASRCS) $(CSRCS) $(SPECSRCS) OBJS = $(AOBJS) $(COBJS) $(SPECOBJS) LDFLAGS = $(ARCHSCRIPT) -EXTRA_LIBS = -lc +STDLIBS = -lc ifeq ($(CONFIG_FS_FAT),y) -EXTRA_LIBS += -lz +STDLIBS += -lz endif LINKOBJS = up_head$(OBJEXT) @@ -89,7 +89,7 @@ libarch$(LIBEXT): $(OBJS) nuttx$(EXEEXT): $(LINKOBJS) @echo "LD: nuttx$(EXEEXT)" @$(CC) $(LDFLAGS) $(LDPATHES) -o $(TOPDIR)/$@ $(LINKOBJS) \ - -Wl,--start-group $(LDLIBS) -Wl,--end-group $(EXTRA_LIBS) + -Wl,--start-group $(LDLIBS) -Wl,--end-group $(STDLIBS) $(EXTRA_LIBS) @$(NM) $(TOPDIR)/$@ | \ grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ sort > $(TOPDIR)/System.map |