add asterisk-1.4.x (thanks to Hans Zandblet)
[openwrt/svn-archive/archive.git] / net / asterisk-1.4.x / patches / 017-Makefile-no_march.patch
1 diff -Nru asterisk-1.4.5.org/Makefile asterisk-1.4.5/Makefile
2 --- asterisk-1.4.5.org/Makefile 2007-05-24 21:05:08.000000000 +0200
3 +++ asterisk-1.4.5/Makefile 2007-06-22 09:10:18.000000000 +0200
4 @@ -200,7 +200,7 @@
5 endif
6
7 ifneq ($(PROC),ultrasparc)
8 - ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
9 + #ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
10 endif
11
12 ifeq ($(PROC),ppc)