diff options
author | Franklin Wei <git@fwei.tk> | 2017-12-26 23:38:17 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-12-26 23:40:16 -0500 |
commit | 78db1d95029b9c4b968cf57070badf500ed851cd (patch) | |
tree | 4fb12f13e38190724f8ad2623a165807acc14673 /apps/plugins/sdl | |
parent | 6a843ca2b2008310f4b27070a2ea8fd7d0490fe5 (diff) | |
download | rockbox-78db1d95029b9c4b968cf57070badf500ed851cd.tar.gz rockbox-78db1d95029b9c4b968cf57070badf500ed851cd.zip |
duke3d: use hardware FPU if available
Change-Id: Idd9fad7bc0604a553c282a0f8c663ad44030ecac
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r-- | apps/plugins/sdl/sdl.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/sdl/sdl.make b/apps/plugins/sdl/sdl.make index 663bc564f3..98346389fc 100644 --- a/apps/plugins/sdl/sdl.make +++ b/apps/plugins/sdl/sdl.make | |||
@@ -25,6 +25,10 @@ OTHER_INC += -I$(SDL_SRCDIR)/include | |||
25 | SDLFLAGS = -I$(SDL_SRCDIR)/include $(filter-out -O%,$(PLUGINFLAGS)) \ | 25 | SDLFLAGS = -I$(SDL_SRCDIR)/include $(filter-out -O%,$(PLUGINFLAGS)) \ |
26 | -O3 -Wno-unused-parameter -Xpreprocessor -Wno-undef -Wcast-align -w | 26 | -O3 -Wno-unused-parameter -Xpreprocessor -Wno-undef -Wcast-align -w |
27 | 27 | ||
28 | ifeq ($(ARCH_VERSION),6) | ||
29 | SDLFLAGS += -mfloat-abi=softfp | ||
30 | endif | ||
31 | |||
28 | ifndef APP_TYPE | 32 | ifndef APP_TYPE |
29 | ### no target has a big enough plugin buffer | 33 | ### no target has a big enough plugin buffer |
30 | ROCKS += $(SDL_OBJDIR)/duke3d.ovl | 34 | ROCKS += $(SDL_OBJDIR)/duke3d.ovl |