diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-04 20:24:33 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-11 19:29:47 +0200 |
commit | e28d1fe91671f64ce30d6e439787a48d71de5616 (patch) | |
tree | f787aaac6e894abf7e3f4144cd1b827e65db673d /apps/plugins/sdl/sdl.make | |
parent | 2ad6c3438e53ddaa80c0aa43e995376495ce1a77 (diff) | |
download | rockbox-e28d1fe91671f64ce30d6e439787a48d71de5616.tar.gz rockbox-e28d1fe91671f64ce30d6e439787a48d71de5616.zip |
SDL: Silence a large number of compile warnings (WIP)
There are some real bugs in here, but we're drowning in warnings.
Change-Id: I7c2c0eafc8426327521bdd8a3ac2d3742ac16864
Diffstat (limited to 'apps/plugins/sdl/sdl.make')
-rw-r--r-- | apps/plugins/sdl/sdl.make | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/sdl/sdl.make b/apps/plugins/sdl/sdl.make index 9514d7ad93..4e7e518fc1 100644 --- a/apps/plugins/sdl/sdl.make +++ b/apps/plugins/sdl/sdl.make | |||
@@ -32,6 +32,13 @@ SDLFLAGS = -I$(SDL_SRCDIR)/include $(filter-out -O%,$(PLUGINFLAGS)) \ | |||
32 | -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations \ | 32 | -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations \ |
33 | -D_GNU_SOURCE=1 -D_REENTRANT -DSDL -DELF -w # disable all warnings | 33 | -D_GNU_SOURCE=1 -D_REENTRANT -DSDL -DELF -w # disable all warnings |
34 | 34 | ||
35 | # WIP SDLFLAGS for warning deletions | ||
36 | #SDLFLAGS = -I$(SDL_SRCDIR)/include $(filter-out -O%,$(PLUGINFLAGS)) \ | ||
37 | #-O3 -Wno-unused-parameter -Xpreprocessor -Wno-undef -Wno-sign-compare \ | ||
38 | #-Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable -Wno-unknown-pragmas \ | ||
39 | #-ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations \ | ||
40 | #-D_GNU_SOURCE=1 -D_REENTRANT -DSDL -DELF | ||
41 | |||
35 | # use FPU on ARMv6 | 42 | # use FPU on ARMv6 |
36 | ifeq ($(ARCH_VERSION),6) | 43 | ifeq ($(ARCH_VERSION),6) |
37 | SDLFLAGS += -mfloat-abi=softfp | 44 | SDLFLAGS += -mfloat-abi=softfp |