summaryrefslogtreecommitdiff
path: root/chat/kadu/patches/patch-aa
blob: e84ae425c3baf32d0802ab660411de98e290e4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.3 2005/04/21 08:56:21 adam Exp $

--- modules/voice/libgsm/Makefile.orig	2005-03-08 17:42:25.000000000 +0000
+++ modules/voice/libgsm/Makefile
@@ -44,7 +44,7 @@ WAV49	= -DWAV49
 # CCFLAGS 	= -c -O
 
 CC		:= $(CC) -ansi -pedantic
-CCFLAGS 	= -c -O2 -DNeedFunctionPrototypes=1 -fPIC
+CCFLAGS 	= -c -DNeedFunctionPrototypes=1 -fPIC
 
 LD 		= $(CC)
 
@@ -129,7 +129,7 @@ INC	= $(ROOT)/inc
 # DEBUG	= -DNDEBUG
 ######### Remove -DNDEBUG to enable assertions.
 
-CFLAGS	= $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+CFLAGS	+= $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
 	$(WAV49) $(CCINC) -I$(INC)
 ######### It's $(CC) $(CFLAGS)