Add the -fomit-frame-pointer option to GCC ARM7 builds.

This commit is contained in:
Richard Barry 2006-11-19 18:04:09 +00:00
parent 09969dc53e
commit 0958466903
10 changed files with 14 additions and 23 deletions

View file

@ -44,7 +44,7 @@ WARNINGS=-Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align
#
CFLAGS=$(WARNINGS) -D $(RUN_MODE) -D GCC_ARM7 -I. -I../../Source/include \
-I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \
$(OPTIM)
$(OPTIM) -fomit-frame-pointer
ifeq ($(USE_THUMB_MODE),YES)
CFLAGS += -mthumb-interwork -D THUMB_INTERWORK