mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 20:40:10 +00:00
More cleanups and OSX fixes for 10.3
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,6 +37,10 @@ WAV49 = -DWAV49
|
||||
######### ppro's, etc, as well as the AMD K6 and K7. The compile will
|
||||
######### probably require gcc.
|
||||
|
||||
ifneq (${OSARCH},Darwin)
|
||||
OPTIMIZE+=-march=$(PROC)
|
||||
endif
|
||||
|
||||
PG =
|
||||
#PG = -g -pg
|
||||
######### Profiling flags. If you don't know what that means, leave it blank.
|
||||
@@ -54,7 +58,7 @@ PG =
|
||||
# CC = /usr/lang/acc
|
||||
# CCFLAGS = -c -O
|
||||
|
||||
CC = gcc $(OPTIMIZE) -march=$(PROC) -fomit-frame-pointer
|
||||
CC = gcc $(OPTIMIZE) -fomit-frame-pointer
|
||||
CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC
|
||||
|
||||
LD = $(CC)
|
||||
@@ -189,7 +193,7 @@ GSM_SOURCES = $(SRC)/add.c \
|
||||
$(SRC)/gsm_option.c \
|
||||
$(SRC)/short_term.c \
|
||||
$(SRC)/table.c
|
||||
ifneq (${OSARCH},OpenBSD)
|
||||
ifeq (${OSARCH},Linux)
|
||||
GSM_SOURCES+= $(SRC)/k6opt.s
|
||||
endif
|
||||
|
||||
@@ -236,7 +240,7 @@ GSM_OBJECTS = $(SRC)/add.o \
|
||||
$(SRC)/gsm_option.o \
|
||||
$(SRC)/short_term.o \
|
||||
$(SRC)/table.o
|
||||
ifneq (${OSARCH},OpenBSD)
|
||||
ifeq (${OSARCH},Linux)
|
||||
GSM_OBJECTS+= $(SRC)/k6opt.o
|
||||
endif
|
||||
|
||||
|
@@ -62,6 +62,10 @@ void Gsm_Coder P8((S,s,LARc,Nc,bc,Mc,xmaxc,xMc),
|
||||
|
||||
word so[160];
|
||||
|
||||
#if !(defined(__GNUC__) && defined(__i386__))
|
||||
longword ltmp;
|
||||
#endif
|
||||
|
||||
Gsm_Preprocess (S, s, so);
|
||||
Gsm_LPC_Analysis (S, so, LARc);
|
||||
Gsm_Short_Term_Analysis_Filter (S, LARc, so);
|
||||
|
Reference in New Issue
Block a user