diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-11-29 18:11:49 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-11-29 18:11:49 +0000 |
commit | 13f08d70fd5ba237ae53aad1de8bb3d613010246 (patch) | |
tree | ab159172b0c4a8cf13f07f16e28008da4d732dfc /apps/codecs/codecs.make | |
parent | 685ca2672e5842fe185c8f12da6bf108fd8f074f (diff) |
Enable strict aliasing optimizations for codecs on gcc versions >= 4.0, fix alising violations that this uncovered, gives small speedups for most codecs, FS#10801
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/codecs.make')
-rw-r--r-- | apps/codecs/codecs.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make index 87ed5f2b40..f169ade798 100644 --- a/apps/codecs/codecs.make +++ b/apps/codecs/codecs.make @@ -41,8 +41,8 @@ include $(APPSDIR)/codecs/librm/librm.make include $(APPSDIR)/codecs/libatrac/libatrac.make # compile flags for codecs -CODECFLAGS = $(CFLAGS) -I$(APPSDIR)/codecs -I$(APPSDIR)/codecs/lib \ - -DCODEC +CODECFLAGS = $(filter-out -fno-strict-aliasing,$(CFLAGS)) -fstrict-aliasing \ + -I$(APPSDIR)/codecs -I$(APPSDIR)/codecs/lib -DCODEC ifndef SIMVER CODEC_LDS := $(APPSDIR)/plugins/plugin.lds # codecs and plugins use same file |