summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-af
blob: d3845613ffcb36e387b074ae855e2fa5654d6272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-af,v 1.2 2005/09/02 12:58:34 adam Exp $

--- codecs/gsm/Makefile.orig	2005-06-21 14:27:28.000000000 +0000
+++ codecs/gsm/Makefile
@@ -44,6 +44,7 @@ ifneq ($(shell uname -m),ppc)
 ifneq ($(shell uname -m),alpha)
 ifneq ($(shell uname -m),armv4l)
 ifneq (${PROC},sparc64)
+ifneq (${PROC},powerpc)
 ifneq (${PROC},ppc)
 ifneq (${PROC},ppc64)
 OPTIMIZE+=-march=$(PROC)
@@ -56,6 +57,7 @@ endif
 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.