summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.make
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-07 18:36:56 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-07 18:36:56 +0000
commit28c4f2a84e8b87392dcfff8200fbbc10d5c24adf (patch)
tree3ebfeadf86b31b0ef723623ea7cda482b2797530 /apps/plugins/mpegplayer/mpegplayer.make
parentc1a14863f565a79106f4e7efbcaf26bbd5543b69 (diff)
downloadrockbox-28c4f2a84e8b87392dcfff8200fbbc10d5c24adf.tar.gz
rockbox-28c4f2a84e8b87392dcfff8200fbbc10d5c24adf.zip
Fix FS#12261. Only set '-fgnu89-inline' if GCC >= 4.1.3 is used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30467 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.make')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.make b/apps/plugins/mpegplayer/mpegplayer.make
index 00a11f3ad4..1f74d6597a 100644
--- a/apps/plugins/mpegplayer/mpegplayer.make
+++ b/apps/plugins/mpegplayer/mpegplayer.make
@@ -18,8 +18,8 @@ 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
21# Set '-fgnu89-inline' if supported for the target. 21# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401)
22ifneq ($(CPU),mips) 22ifeq ($(shell expr $(GCCNUM) \>= 401),1)
23 MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline 23 MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline
24else 24else
25 MPEGCFLAGS = $(PLUGINFLAGS) 25 MPEGCFLAGS = $(PLUGINFLAGS)