summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-11-29 21:37:57 +0000
committerNils Wallménius <nils@rockbox.org>2009-11-29 21:37:57 +0000
commit3cc0796a370f59aad6d15328e576f2a2223db0c3 (patch)
tree695e6e4fca9668991d46b104e2a5d04c6f48084f /apps
parenteed9ab72386f6a11c84cd85fcbf6d1a576f0ac83 (diff)
Disable strict aliasing for speex for now to get rid of warnings, some very nasty casting in here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23793 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libspeex/libspeex.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/libspeex/libspeex.make b/apps/codecs/libspeex/libspeex.make
index dcf5b8b5fd..01fa5a3a3d 100644
--- a/apps/codecs/libspeex/libspeex.make
+++ b/apps/codecs/libspeex/libspeex.make
@@ -11,8 +11,10 @@
# (one for codec, one for core voice)
# so a little trickery is necessary
-SPEEXFLAGS = $(filter-out -O%,$(CODECFLAGS)) \
- -DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \
+# disable strict aliasing optimizations for now, it gives warnings due to
+# some horrid typecasting
+SPEEXFLAGS = $(filter-out -O%, $(filter-out -fstrict-aliasing, $(CODECFLAGS))) \
+ -fstrict-aliasing -DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \
-I$(APPSDIR)/codecs/libspeex
# libspeex is faster on ARM-targets with -O1 instead of -O2