packages/net/asterisk-1.4.x/patches/017-Makefile-no_march.patch
nico 0bd5090cf7 [packages] asterisk-1.4.x: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 14:41:11 +00:00

12 lines
404 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -220,7 +220,7 @@ ifneq ($(findstring BSD,$(OSARCH)),)
endif
ifneq ($(PROC),ultrasparc)
- ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
+ #ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
endif
ifeq ($(PROC),ppc)