Doom: test to see if it still needs Os on arm - that was set when the plugin buffer was smaller on all of the targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23629 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-11-15 06:25:53 +00:00
parent 873c5b6d18
commit 6acfe8edac

View file

@ -19,19 +19,13 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC))
# add source files to OTHER_SRC to get automatic dependencies
OTHER_SRC += $(DOOM_SRC)
DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes
DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2
# The arm code compiles too large for the plugin buffer when set to optimize for speed
ifeq ($(CPU), arm)
DOOMCFLAGS += -Os
ifndef SIMVER
ifeq ($(TARGET), IRIVER_H100)
DOOMCCFLAGS += -mstructure-size-boundary=8
endif
endif
else
DOOMCFLAGS += -O2
endif
$(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ)