diff options
Diffstat (limited to 'apps/plugins/doom')
| -rw-r--r-- | apps/plugins/doom/doom.make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index a405a5f..c71ede6 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make @@ -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) |