Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make
index 13ad28f..79e60c5 100644
--- a/lib/rbcodec/codecs/codecs.make
+++ b/lib/rbcodec/codecs/codecs.make
@@ -101,16 +101,18 @@ $(WMAVOICELIB) : CODECFLAGS += -O1
# fine-tuning of CODECFLAGS per cpu arch
ifeq ($(ARCH),arch_arm)
# redo per arm generation
+ $(A52LIB) : CODECFLAGS += -O2
$(ALACLIB) : CODECFLAGS += -O2
- $(AYLIB) : CODECFLAGS += -O1
- $(GBSLIB) : CODECFLAGS += -O1
- $(HESLIB) : CODECFLAGS += -O1
- $(KSSLIB) : CODECFLAGS += -O1
- $(NSFLIB) : CODECFLAGS += -O1
- $(SGCLIB) : CODECFLAGS += -O1
- $(VGMLIB) : CODECFLAGS += -O1
- $(EMU2413LIB) : CODECFLAGS += -O3
+ $(ASAPLIB) : CODECFLAGS += -O2
+ $(ATRACLIB) : CODECFLAGS += -O2
+ $(COOKLIB): CODECFLAGS += -O2
+ $(FFMPEGFLACLIB) : CODECFLAGS += -O3
+ $(MUSEPACKLIB) : CODECFLAGS += -O2
+ $(PCMSLIB) : CODECFLAGS += -O2
+ $(SPCLIB) : CODECFLAGS += -O2
$(WAVPACKLIB) : CODECFLAGS += -O3
+ $(WMAPROLIB) : CODECFLAGS += -O2
+ $(WMAVOICELIB) : CODECFLAGS += -O2
else ifeq ($(ARCH),arch_m68k)
$(A52LIB) : CODECFLAGS += -O2
$(ASFLIB) : CODECFLAGS += -O3
diff --git a/lib/rbcodec/codecs/libmad/libmad.make b/lib/rbcodec/codecs/libmad/libmad.make
index 16b2bd7..e355036 100644
--- a/lib/rbcodec/codecs/libmad/libmad.make
+++ b/lib/rbcodec/codecs/libmad/libmad.make
@@ -15,12 +15,7 @@
MADFLAGS = $(filter-out -O%,$(CODECFLAGS)) -I$(RBCODECLIB_DIR)/codecs/libmad
MADFLAGS += -UDEBUG -DNDEBUG -DHAVE_LIMITS_H -DHAVE_ASSERT_H
-# libmad is faster on ARM-targets with -O1 than -O2
-ifeq ($(ARCH),arch_arm)
- MADFLAGS += -O1
-else
- MADFLAGS += -O2
-endif
+MADFLAGS += -O2
# MPEGplayer
MPEGMADFLAGS = $(MADFLAGS) -DMPEGPLAYER
--
2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.