summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/doom.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/doom.make')
-rw-r--r--apps/plugins/doom/doom.make8
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
20OTHER_SRC += $(DOOM_SRC) 20OTHER_SRC += $(DOOM_SRC)
21 21
22DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes 22DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2
23 23
24# The arm code compiles too large for the plugin buffer when set to optimize for speed
25ifeq ($(CPU), arm)
26 DOOMCFLAGS += -Os
27ifndef SIMVER 24ifndef SIMVER
28ifeq ($(TARGET), IRIVER_H100) 25ifeq ($(TARGET), IRIVER_H100)
29 DOOMCCFLAGS += -mstructure-size-boundary=8 26 DOOMCCFLAGS += -mstructure-size-boundary=8
30endif 27endif
31endif 28endif
32else
33 DOOMCFLAGS += -O2
34endif
35 29
36$(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ) 30$(DOOMBUILDDIR)/doom.rock: $(DOOM_OBJ)
37 31