diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-11-29 21:37:57 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-11-29 21:37:57 +0000 |
commit | 3cc0796a370f59aad6d15328e576f2a2223db0c3 (patch) | |
tree | 695e6e4fca9668991d46b104e2a5d04c6f48084f /apps/codecs | |
parent | eed9ab72386f6a11c84cd85fcbf6d1a576f0ac83 (diff) | |
download | rockbox-3cc0796a370f59aad6d15328e576f2a2223db0c3.tar.gz rockbox-3cc0796a370f59aad6d15328e576f2a2223db0c3.zip |
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/codecs')
-rw-r--r-- | apps/codecs/libspeex/libspeex.make | 6 |
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 @@ | |||
11 | # (one for codec, one for core voice) | 11 | # (one for codec, one for core voice) |
12 | # so a little trickery is necessary | 12 | # so a little trickery is necessary |
13 | 13 | ||
14 | SPEEXFLAGS = $(filter-out -O%,$(CODECFLAGS)) \ | 14 | # disable strict aliasing optimizations for now, it gives warnings due to |
15 | -DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \ | 15 | # some horrid typecasting |
16 | SPEEXFLAGS = $(filter-out -O%, $(filter-out -fstrict-aliasing, $(CODECFLAGS))) \ | ||
17 | -fstrict-aliasing -DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \ | ||
16 | -I$(APPSDIR)/codecs/libspeex | 18 | -I$(APPSDIR)/codecs/libspeex |
17 | 19 | ||
18 | # libspeex is faster on ARM-targets with -O1 instead of -O2 | 20 | # libspeex is faster on ARM-targets with -O1 instead of -O2 |