summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-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 @@
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
14SPEEXFLAGS = $(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
16SPEEXFLAGS = $(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