mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 14:42:31 -05:00
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:
parent
873c5b6d18
commit
6acfe8edac
1 changed files with 1 additions and 7 deletions
|
|
@ -19,19 +19,13 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC))
|
||||||
# add source files to OTHER_SRC to get automatic dependencies
|
# add source files to OTHER_SRC to get automatic dependencies
|
||||||
OTHER_SRC += $(DOOM_SRC)
|
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
|
ifndef SIMVER
|
||||||
ifeq ($(TARGET), IRIVER_H100)
|
ifeq ($(TARGET), IRIVER_H100)
|
||||||
DOOMCCFLAGS += -mstructure-size-boundary=8
|
DOOMCCFLAGS += -mstructure-size-boundary=8
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
else
|
|
||||||
DOOMCFLAGS += -O2
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ)
|
$(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue