summaryrefslogtreecommitdiff
path: root/codecs/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/gsm')
-rwxr-xr-xcodecs/gsm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 1cfa939e1..9105ef4f3 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -64,8 +64,8 @@ PG =
# 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)
@@ -150,7 +150,7 @@ INC = $(ROOT)/inc
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)