diff options
author | Nils Wallménius <nils@rockbox.org> | 2012-09-27 22:57:01 +0200 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-09-27 22:57:01 +0200 |
commit | f49785cdceed9d73c4483cdc52a1e4be5aee4be3 (patch) | |
tree | 61c0b8377b66d7b41ab2b6bd8d2e2fc338c1183b | |
parent | 3ee5a8a55dc1159eeb3cd629c8a45bcf7587fac0 (diff) | |
download | rockbox-f49785cdceed9d73c4483cdc52a1e4be5aee4be3.tar.gz rockbox-f49785cdceed9d73c4483cdc52a1e4be5aee4be3.zip |
opus: build with -fno-strict-aliasing for mips to fix warnings
Change-Id: I370f43f2e25e03650681c207908f79cdea744d99
-rw-r--r-- | lib/rbcodec/codecs/codecs.make | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make index f56c032c60..844a8f4cee 100644 --- a/lib/rbcodec/codecs/codecs.make +++ b/lib/rbcodec/codecs/codecs.make | |||
@@ -111,6 +111,8 @@ else ifeq ($(ARCH),arch_m68k) | |||
111 | $(SPCLIB) : CODECFLAGS += -O3 | 111 | $(SPCLIB) : CODECFLAGS += -O3 |
112 | $(WMAPROLIB) : CODECFLAGS += -O3 | 112 | $(WMAPROLIB) : CODECFLAGS += -O3 |
113 | $(WMAVOICELIB) : CODECFLAGS += -O2 | 113 | $(WMAVOICELIB) : CODECFLAGS += -O2 |
114 | else ifeq ($(ARCH),arch_mips) | ||
115 | $(OPUSLIB) : CODECFLAGS += -fno-strict-aliasing | ||
114 | endif | 116 | endif |
115 | 117 | ||
116 | ifeq ($(MEMORYSIZE),2) | 118 | ifeq ($(MEMORYSIZE),2) |