forked from len0rd/rockbox
Do not set '-fgnu89-inline' for MIPS targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
41a0bfc5ed
commit
3b83e59923
2 changed files with 12 additions and 2 deletions
|
@ -18,7 +18,12 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC))
|
|||
# add source files to OTHER_SRC to get automatic dependencies
|
||||
OTHER_SRC += $(DOOM_SRC)
|
||||
|
||||
DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing -fgnu89-inline
|
||||
DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing
|
||||
|
||||
# Set '-fgnu89-inline' if supported for the target.
|
||||
ifneq ($(CPU),mips)
|
||||
DOOMCFLAGS += -fgnu89-inline
|
||||
endif
|
||||
|
||||
ifndef APP_TYPE
|
||||
ifeq ($(TARGET), IRIVER_H100)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue