1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Nils Wallménius 2009-11-29 21:37:57 +00:00
parent eed9ab7238
commit 3cc0796a37

View file

@ -11,8 +11,10 @@
# (one for codec, one for core voice) # (one for codec, one for core voice)
# so a little trickery is necessary # so a little trickery is necessary
SPEEXFLAGS = $(filter-out -O%,$(CODECFLAGS)) \ # disable strict aliasing optimizations for now, it gives warnings due to
-DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \ # some horrid typecasting
SPEEXFLAGS = $(filter-out -O%, $(filter-out -fstrict-aliasing, $(CODECFLAGS))) \
-fstrict-aliasing -DHAVE_CONFIG_H -DSPEEX_DISABLE_ENCODER \
-I$(APPSDIR)/codecs/libspeex -I$(APPSDIR)/codecs/libspeex
# libspeex is faster on ARM-targets with -O1 instead of -O2 # libspeex is faster on ARM-targets with -O1 instead of -O2