diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 18:46:44 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 18:46:44 +0000 |
commit | 3b83e599233483edd86401f6698d822b0d4dc03c (patch) | |
tree | d80fe9612dc7d9a442c805f61889abddcb28246f /apps/plugins/mpegplayer/mpegplayer.make | |
parent | 41a0bfc5ede0de1196d3adb552b5ef659daebd4c (diff) | |
download | rockbox-3b83e599233483edd86401f6698d822b0d4dc03c.tar.gz rockbox-3b83e599233483edd86401f6698d822b0d4dc03c.zip |
Do not set '-fgnu89-inline' for MIPS targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.make')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.make | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
19 | OTHER_SRC += $(MPEG_SRC) | 19 | OTHER_SRC += $(MPEG_SRC) |
20 | 20 | ||
21 | MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline | 21 | # Set '-fgnu89-inline' if supported for the target. |
22 | ifneq ($(CPU),mips) | ||
23 | MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline | ||
24 | else | ||
25 | MPEGCFLAGS = $(PLUGINFLAGS) | ||
26 | endif | ||
22 | 27 | ||
23 | $(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a | 28 | $(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a |
24 | 29 | ||