forked from len0rd/rockbox
CFLAGS is set (target-specific) in the root makefile, don't fiddle with them
here git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5772 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0a0c4d5379
commit
824cf0c649
1 changed files with 0 additions and 6 deletions
|
@ -20,12 +20,6 @@ endif
|
||||||
CFLAGS = $(GCCOPTS) \
|
CFLAGS = $(GCCOPTS) \
|
||||||
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
|
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
|
||||||
|
|
||||||
ifdef DEBUG
|
|
||||||
CFLAGS += -g -DDEBUG
|
|
||||||
else
|
|
||||||
CFLAGS += -fomit-frame-pointer -fschedule-insns
|
|
||||||
endif
|
|
||||||
|
|
||||||
SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
|
SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
|
||||||
SOURCES = $(SRC)
|
SOURCES = $(SRC)
|
||||||
OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
|
OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue