summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-16 19:19:22 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-16 19:19:22 +0000
commit0eb41e9e5ac4ef99f77cdf979d3bf345d1006c32 (patch)
treec1fe8707f86d9dc7c019e92064847835fa29e5de /openwrt/package/asterisk
parent2a83ca4b5426fbd4724cc497d8fc3123c35c605b (diff)
downloadmtk-20170518-0eb41e9e5ac4ef99f77cdf979d3bf345d1006c32.zip
mtk-20170518-0eb41e9e5ac4ef99f77cdf979d3bf345d1006c32.tar.gz
mtk-20170518-0eb41e9e5ac4ef99f77cdf979d3bf345d1006c32.tar.bz2
use target optimization cflags for ilbc codec
SVN-Revision: 2707
Diffstat (limited to 'openwrt/package/asterisk')
-rw-r--r--openwrt/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch b/openwrt/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch
new file mode 100644
index 0000000..875f26f
--- /dev/null
+++ b/openwrt/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch
@@ -0,0 +1,21 @@
+diff -ruN asterisk-1.2.1-old/codecs/ilbc/Makefile asterisk-1.2.1-new/codecs/ilbc/Makefile
+--- asterisk-1.2.1-old/codecs/ilbc/Makefile 2005-11-29 19:24:39.000000000 +0100
++++ asterisk-1.2.1-new/codecs/ilbc/Makefile 2005-12-16 19:24:36.000000000 +0100
+@@ -1,5 +1,5 @@
+ ARCH=$(PROC)
+-CFLAGS+=-Wall -O3 -funroll-loops
++CFLAGS+=-Wall $(OPTIMIZE) -funroll-loops
+ ifneq (${OSARCH},CYGWIN)
+ CFLAGS += -fPIC
+ endif
+@@ -15,8 +15,8 @@
+
+
+ $(LIB): $(OBJS)
+- ar cr $(LIB) $(OBJS)
+- ranlib $(LIB)
++ $(AR) cr $(LIB) $(OBJS)
++ $(RANLIB) $(LIB)
+
+ clean:
+ rm -f $(LIB) *.o