diff options
Diffstat (limited to 'apps/plugins/doom/doom.make')
-rw-r--r-- | apps/plugins/doom/doom.make | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index adec5432e7..bdc32230eb 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -19,19 +19,13 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC)) | |||
19 | # add source files to OTHER_SRC to get automatic dependencies | 19 | # add source files to OTHER_SRC to get automatic dependencies |
20 | OTHER_SRC += $(DOOM_SRC) | 20 | OTHER_SRC += $(DOOM_SRC) |
21 | 21 | ||
22 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes | 22 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 |
23 | 23 | ||
24 | # The arm code compiles too large for the plugin buffer when set to optimize for speed | ||
25 | ifeq ($(CPU), arm) | ||
26 | DOOMCFLAGS += -Os | ||
27 | ifndef SIMVER | 24 | ifndef SIMVER |
28 | ifeq ($(TARGET), IRIVER_H100) | 25 | ifeq ($(TARGET), IRIVER_H100) |
29 | DOOMCCFLAGS += -mstructure-size-boundary=8 | 26 | DOOMCCFLAGS += -mstructure-size-boundary=8 |
30 | endif | 27 | endif |
31 | endif | 28 | endif |
32 | else | ||
33 | DOOMCFLAGS += -O2 | ||
34 | endif | ||
35 | 29 | ||
36 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) | 30 | $(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) |
37 | 31 | ||