diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-07 18:36:56 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-07 18:36:56 +0000 |
commit | 28c4f2a84e8b87392dcfff8200fbbc10d5c24adf (patch) | |
tree | 3ebfeadf86b31b0ef723623ea7cda482b2797530 /apps/plugins/doom/doom.make | |
parent | c1a14863f565a79106f4e7efbcaf26bbd5543b69 (diff) | |
download | rockbox-28c4f2a84e8b87392dcfff8200fbbc10d5c24adf.tar.gz rockbox-28c4f2a84e8b87392dcfff8200fbbc10d5c24adf.zip |
Fix FS#12261. Only set '-fgnu89-inline' if GCC >= 4.1.3 is used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30467 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/doom.make')
-rw-r--r-- | apps/plugins/doom/doom.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index c71ede6f8c..b9bc1ec06b 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -20,8 +20,8 @@ OTHER_SRC += $(DOOM_SRC) | |||
20 | 20 | ||
21 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing | 21 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing |
22 | 22 | ||
23 | # Set '-fgnu89-inline' if supported for the target. | 23 | # Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM >= 401) |
24 | ifneq ($(CPU),mips) | 24 | ifeq ($(shell expr $(GCCNUM) \>= 401),1) |
25 | DOOMCFLAGS += -fgnu89-inline | 25 | DOOMCFLAGS += -fgnu89-inline |
26 | endif | 26 | endif |
27 | 27 | ||