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
This commit is contained in:
parent
daaae99c1c
commit
ae5d09b252
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue