summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/doom/doom.make7
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.make7
2 files changed, 12 insertions, 2 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make
index a405a5ff3f..c71ede6f8c 100644
--- a/apps/plugins/doom/doom.make
+++ b/apps/plugins/doom/doom.make
@@ -18,7 +18,12 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC))
18# add source files to OTHER_SRC to get automatic dependencies 18# add source files to OTHER_SRC to get automatic dependencies
19OTHER_SRC += $(DOOM_SRC) 19OTHER_SRC += $(DOOM_SRC)
20 20
21DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing -fgnu89-inline 21DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing
22
23# Set '-fgnu89-inline' if supported for the target.
24ifneq ($(CPU),mips)
25 DOOMCFLAGS += -fgnu89-inline
26endif
22 27
23ifndef APP_TYPE 28ifndef APP_TYPE
24ifeq ($(TARGET), IRIVER_H100) 29ifeq ($(TARGET), IRIVER_H100)
diff --git a/apps/plugins/mpegplayer/mpegplayer.make b/apps/plugins/mpegplayer/mpegplayer.make
index 2a39e7ddce..00a11f3ad4 100644
--- a/apps/plugins/mpegplayer/mpegplayer.make
+++ b/apps/plugins/mpegplayer/mpegplayer.make
@@ -18,7 +18,12 @@ MPEG_OBJ := $(call c2obj, $(MPEG_SRC))
18# add source files to OTHER_SRC to get automatic dependencies 18# add source files to OTHER_SRC to get automatic dependencies
19OTHER_SRC += $(MPEG_SRC) 19OTHER_SRC += $(MPEG_SRC)
20 20
21MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline 21# Set '-fgnu89-inline' if supported for the target.
22ifneq ($(CPU),mips)
23 MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline
24else
25 MPEGCFLAGS = $(PLUGINFLAGS)
26endif
22 27
23$(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a 28$(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a
24 29