Index: apps/plugins/mpegplayer/mpegplayer.make =================================================================== --- apps/plugins/mpegplayer/mpegplayer.make (revision 30465) +++ apps/plugins/mpegplayer/mpegplayer.make (working copy) @@ -18,8 +18,8 @@ # add source files to OTHER_SRC to get automatic dependencies OTHER_SRC += $(MPEG_SRC) -# Set '-fgnu89-inline' if supported for the target. -ifneq ($(CPU),mips) +# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401) +ifeq ($(shell expr $(GCCNUM) \>= 401),1) MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline else MPEGCFLAGS = $(PLUGINFLAGS) Index: apps/plugins/doom/doom.make =================================================================== --- apps/plugins/doom/doom.make (revision 30465) +++ apps/plugins/doom/doom.make (working copy) @@ -20,8 +20,8 @@ DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing -# Set '-fgnu89-inline' if supported for the target. -ifneq ($(CPU),mips) +# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401) +ifeq ($(shell expr $(GCCNUM) \>= 401),1) DOOMCFLAGS += -fgnu89-inline endif