From 6ac83901a52ca7d1d41d3e960c89bf8274d467e7 Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Mon, 16 Sep 2002 19:35:28 +0000 Subject: now compiles with GNUSH v203 as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2303 a1c6a512-1295-4272-9138-f99709370657 --- apps/win32.mak | 4 ++-- 1 file 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 -- cgit v1.2.3