$OpenBSD: patch-codecs_gsm_Makefile,v 1.1.1.1 2004/09/26 00:38:24 jolan Exp $
--- codecs/gsm/Makefile.orig	Tue Aug 31 11:33:00 2004
+++ codecs/gsm/Makefile	Thu Sep 23 14:47:04 2004
@@ -37,6 +37,7 @@ WAV49	= -DWAV49
 ######### ppro's, etc, as well as the AMD K6 and K7.  The compile will
 ######### probably require gcc. 
 
+ifneq (${OSARCH},OpenBSD)
 ifneq (${OSARCH},Darwin)
 ifneq (${PROC},x86_64)
 ifneq (${PROC},ultrasparc)
@@ -48,14 +49,17 @@ 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.
 #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn't support it.
 #So we go lowest common available by gcc and go a step down, still a step up from
 #the default as we now have a better instruction set to work with. - Belgarath
+ifneq (${OSARCH},OpenBSD)
 ifeq (${PROC},ultrasparc)
 OPTIMIZE+=-mcpu=v8 -mtune=$(PROC) -O3 -fomit-frame-pointer
+endif
 endif
 
 PG =
