From 3b83e599233483edd86401f6698d822b0d4dc03c Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 3 Sep 2011 18:46:44 +0000 Subject: Do not set '-fgnu89-inline' for MIPS targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30421 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/mpegplayer.make | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/plugins/mpegplayer/mpegplayer.make') 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)) # add source files to OTHER_SRC to get automatic dependencies OTHER_SRC += $(MPEG_SRC) -MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline +# Set '-fgnu89-inline' if supported for the target. +ifneq ($(CPU),mips) + MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline +else + MPEGCFLAGS = $(PLUGINFLAGS) +endif $(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a -- cgit v1.2.3