summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-08 16:21:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-08 16:21:52 +0000
commitba66d54b5f4064664c69f614d55814cc6e862997 (patch)
tree2c762bcb0745ae549362698d69716de4988d3953 /contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch
parent2498f604961ebcf0bc8094bb72fd77d63670ee72 (diff)
contrib/package: move asterisk14-xip to feed
Diffstat (limited to 'contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch')
-rw-r--r--contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch b/contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch
new file mode 100644
index 0000000000..98ec1100bc
--- /dev/null
+++ b/contrib/package/asterisk-xip/patches/017-Makefile-no_march.patch
@@ -0,0 +1,12 @@
+diff -Nru asterisk-1.4.22.org/Makefile asterisk-1.4.22/Makefile
+--- asterisk-1.4.22.org/Makefile 2008-09-08 22:15:42.000000000 +0200
++++ asterisk-1.4.22/Makefile 2008-11-29 15:05:12.000000000 +0100
+@@ -215,7 +215,7 @@
+ 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)