summaryrefslogtreecommitdiffhomepage
path: root/contrib/asterisk-xip/patches/017-Makefile-no_march.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/asterisk-xip/patches/017-Makefile-no_march.patch')
-rw-r--r--contrib/asterisk-xip/patches/017-Makefile-no_march.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/asterisk-xip/patches/017-Makefile-no_march.patch b/contrib/asterisk-xip/patches/017-Makefile-no_march.patch
new file mode 100644
index 0000000000..98ec1100bc
--- /dev/null
+++ b/contrib/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)