aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk12/files/patch-codecs::gsm::Makefile
blob: d60ed11f3298efc8f3ed4df25eaf158f191c4c10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

$FreeBSD$

--- codecs/gsm/Makefile.orig    Thu Jan  8 18:52:11 2004
+++ codecs/gsm/Makefile Fri Jan 30 01:47:34 2004
@@ -60,8 +60,8 @@
 # CC       = /usr/lang/acc
 # CCFLAGS  = -c -O
 
-CC     = gcc $(OPTIMIZE) -fomit-frame-pointer 
-CCFLAGS    += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC
+CC     ?= gcc
+CCFLAGS    += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC $(OPTIMIZE) -fomit-frame-pointer
 
 LD         = $(CC)
 
@@ -146,7 +146,7 @@
 DEBUG  = -DNDEBUG
 ######### Remove -DNDEBUG to enable assertions.
 
-CFLAGS = $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) \
+CFLAGS += $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) \
    $(LTP_CUT) $(WAV49) $(K6OPT) $(CCINC) -I$(INC)
 ######### It's $(CC) $(CFLAGS)