summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-02-15 20:28:08 +0000
committerJens Arnold <amiconn@rockbox.org>2007-02-15 20:28:08 +0000
commite393b8e359f2d179c899f7dd37b00fb9c90636b2 (patch)
tree3e016808b4c419f99b4feb3ac4459743eb24f852 /apps/plugins/Makefile
parent9745bbc1df4b82a6f43dabc915ab7823d2889d5b (diff)
downloadrockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.zip
rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.gz
rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.bz2
rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.xz
Replaced some explicit options for target linking with to be consistent with the sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 371a04e..4f518a2 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -89,7 +89,8 @@ $(BITMAPLIBS): $(BUILDDIR)/libplugin%.a: build-%
ifndef SIMVER
$(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a $(BITMAPLIBS)
- $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map
+ $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc \
+ -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map
$(OBJDIR)/%.rock : $(OBJDIR)/%.elf
$(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@