diff options
| author | Nicolas Thill <nico@openwrt.org> | 2005-12-16 19:19:22 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2005-12-16 19:19:22 +0000 |
| commit | 9ff82eb22f5396712ba527448324efaaae556bf0 (patch) | |
| tree | 0be41c9ccd3e1d0b4920c533110a5abcb0b26cce | |
| parent | 188a4f778b1a89d48ed0d01ddf50b63f18a942d4 (diff) | |
| download | upstream-9ff82eb22f5396712ba527448324efaaae556bf0.tar.gz upstream-9ff82eb22f5396712ba527448324efaaae556bf0.tar.bz2 upstream-9ff82eb22f5396712ba527448324efaaae556bf0.zip | |
use target optimization cflags for ilbc codec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2707 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rw-r--r-- | openwrt/package/asterisk/patches/asterisk-1.2.1-Makefile-codecs-ilbc.patch | 21 |
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 00000000000..875f26fa047 --- /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 |
