98ec1100bc4e9e13351f7f3232078f09215824e6
[project/luci.git] / contrib / asterisk-xip / patches / 017-Makefile-no_march.patch
1 diff -Nru asterisk-1.4.22.org/Makefile asterisk-1.4.22/Makefile
2 --- asterisk-1.4.22.org/Makefile 2008-09-08 22:15:42.000000000 +0200
3 +++ asterisk-1.4.22/Makefile 2008-11-29 15:05:12.000000000 +0100
4 @@ -215,7 +215,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)