From ae5d09b252f1038167a56488eb4058b6d8eb8427 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 8 Sep 2011 06:23:33 +0000 Subject: MIPS uses GCC 4.1.2 which was wrongly detected as supporting '-fgnu89-inline'. Now only set this parameter if GCCNUM > 401. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30471 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/doom.make | 4 ++-- apps/plugins/mpegplayer/mpegplayer.make | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index b9bc1ec06b..0ebdf384a1 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make @@ -20,8 +20,8 @@ OTHER_SRC += $(DOOM_SRC) DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing -# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401) -ifeq ($(shell expr $(GCCNUM) \>= 401),1) +# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM > 401) +ifeq ($(shell expr $(GCCNUM) \> 401),1) DOOMCFLAGS += -fgnu89-inline endif diff --git a/apps/plugins/mpegplayer/mpegplayer.make b/apps/plugins/mpegplayer/mpegplayer.make index 1f74d6597a..af2156787e 100644 --- a/apps/plugins/mpegplayer/mpegplayer.make +++ b/apps/plugins/mpegplayer/mpegplayer.make @@ -18,8 +18,8 @@ MPEG_OBJ := $(call c2obj, $(MPEG_SRC)) # add source files to OTHER_SRC to get automatic dependencies OTHER_SRC += $(MPEG_SRC) -# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401) -ifeq ($(shell expr $(GCCNUM) \>= 401),1) +# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM > 401) +ifeq ($(shell expr $(GCCNUM) \> 401),1) MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline else MPEGCFLAGS = $(PLUGINFLAGS) -- cgit v1.2.3