summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-af
blob: e9d825b5bf5124ebdd8cea15e5e79189074335e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-af,v 1.1 2005/05/24 14:29:06 riz Exp $
--- codecs/gsm/Makefile.orig	2005-05-23 20:29:10.000000000 -0700
+++ codecs/gsm/Makefile	2005-05-23 20:29:48.000000000 -0700
@@ -43,6 +43,7 @@
 ifneq ($(shell uname -m),ppc)
 ifneq ($(shell uname -m),alpha)
 ifneq (${PROC},sparc64)
+ifneq (${PROC},powerpc)
 OPTIMIZE+=-march=$(PROC)
 endif
 endif
@@ -50,6 +51,7 @@
 endif
 endif
 endif
+endif
 
 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
 #This works for even old (2.96) versions of gcc and provides a small boost either way.