summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl/sdl.make
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-12-26 23:38:17 -0500
committerFranklin Wei <git@fwei.tk>2017-12-26 23:40:16 -0500
commit78db1d95029b9c4b968cf57070badf500ed851cd (patch)
tree4fb12f13e38190724f8ad2623a165807acc14673 /apps/plugins/sdl/sdl.make
parent6a843ca2b2008310f4b27070a2ea8fd7d0490fe5 (diff)
downloadrockbox-78db1d95029b9c4b968cf57070badf500ed851cd.tar.gz
rockbox-78db1d95029b9c4b968cf57070badf500ed851cd.tar.bz2
rockbox-78db1d95029b9c4b968cf57070badf500ed851cd.zip
duke3d: use hardware FPU if available
Change-Id: Idd9fad7bc0604a553c282a0f8c663ad44030ecac
Diffstat (limited to 'apps/plugins/sdl/sdl.make')
-rw-r--r--apps/plugins/sdl/sdl.make4
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
SDLFLAGS = -I$(SDL_SRCDIR)/include $(filter-out -O%,$(PLUGINFLAGS)) \
-O3 -Wno-unused-parameter -Xpreprocessor -Wno-undef -Wcast-align -w
+ifeq ($(ARCH_VERSION),6)
+ SDLFLAGS += -mfloat-abi=softfp
+endif
+
ifndef APP_TYPE
### no target has a big enough plugin buffer
ROCKS += $(SDL_OBJDIR)/duke3d.ovl