aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit5d8d24472f0deef3375aea48c3700cf0f8c6ce87 (patch)
treef3448feae63748cac5d4e3e5b51adc9aeb54b27b /package
parentbdf6a7fa2fcbb0988ca401f17e6cffe860c4208c (diff)
downloadupstream-5d8d24472f0deef3375aea48c3700cf0f8c6ce87.tar.gz
upstream-5d8d24472f0deef3375aea48c3700cf0f8c6ce87.tar.bz2
upstream-5d8d24472f0deef3375aea48c3700cf0f8c6ce87.zip
use target optimization cflags for ilbc codec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2707 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch b/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch
new file mode 100644
index 0000000000..875f26fa04
--- /dev/null
+++ b/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