diff options
author | Felix Arends <edx@rockbox.org> | 2002-09-16 19:35:28 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-09-16 19:35:28 +0000 |
commit | 6ac83901a52ca7d1d41d3e960c89bf8274d467e7 (patch) | |
tree | c39bbc10d3ef52a82f19a64b907c4629540d6875 | |
parent | a07a236c0f1119961203bfdfda8df4fb41ad2bb8 (diff) |
now compiles with GNUSH v203 as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2303 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/win32.mak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/win32.mak b/apps/win32.mak index 1f97e01915..d0eb232723 100644 --- a/apps/win32.mak +++ b/apps/win32.mak @@ -57,7 +57,7 @@ ifdef PROPFONTS DEFINES += -DLCD_PROPFONTS endif -CFLAGS = -O -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) +CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(DEFINES) AFLAGS += -small -relax ifdef DEBUG @@ -88,7 +88,7 @@ $(OBJDIR)/librockbox.a: make -C $(FIRMWARE) -f win32.mak TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) $(OBJDIR)/archos.elf : $(OBJS) $(LDS) $(OBJDIR)/librockbox.a - $(CC) -Os -nostdlib -o $(OBJDIR)/archos.elf $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LDS) -Wl,-Map,$(OBJDIR)/archos.map + $(CC) -Os -nostdlib -o $(OBJDIR)/archos.elf $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -lc -L$(FIRMWARE) -T$(LDS) -Wl,-Map,$(OBJDIR)/archos.map $(OBJDIR)/archos.bin : $(OBJDIR)/archos.elf $(OC) -O binary $(OBJDIR)/archos.elf $(OBJDIR)/archos.bin |