1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/asterisk12/files/patch-codecs::gsm::Makefile
2004-02-05 19:38:40 +00:00

26 lines
717 B
Plaintext

$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)