summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-12-19 23:38:35 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-12-19 23:38:35 +0000
commit66111fd9878a74bc46b2cfe1ffd983ce85147086 (patch)
treea30da78ef2f7040bbae68e2642a325a087e2ceaf /apps
parent035fcdee7452dbee68343ff5737e0300558bc9fe (diff)
downloadrockbox-66111fd9878a74bc46b2cfe1ffd983ce85147086.tar.gz
rockbox-66111fd9878a74bc46b2cfe1ffd983ce85147086.tar.bz2
rockbox-66111fd9878a74bc46b2cfe1ffd983ce85147086.zip
Added GCCOPTS to the linker command line, to let the linker know exactly which target to link for
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5493 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 897831e49a..af9c813cad 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -71,11 +71,11 @@ $(MAXOUTFILE):
$(OBJDIR)/rombox.elf : $(OBJS) $(LINKROM) $(OBJDIR)/librockbox.a $(DEPFILE)
@echo "LD rombox.elf"
- @$(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKROM) -Wl,-Map,$(OBJDIR)/rombox.map
+ @$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKROM) -Wl,-Map,$(OBJDIR)/rombox.map
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a $(DEPFILE)
@echo "LD rockbox.elf"
- @$(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
+ $(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
$(OBJDIR)/rockbox.bin : $(OBJDIR)/rockbox.elf
@echo "OBJCOPY $<"