mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
x86-64 compile fixes and cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -200,7 +200,7 @@ GSM_SOURCES = $(SRC)/add.c \
|
||||
$(SRC)/short_term.c \
|
||||
$(SRC)/table.c
|
||||
ifeq (${OSARCH},Linux)
|
||||
ifneq (${PROC},x86_64)
|
||||
ifneq ($(shell uname -m),x86_64)
|
||||
ifneq ($(shell uname -m),ppc)
|
||||
ifneq ($(shell uname -m),alpha)
|
||||
GSM_SOURCES+= $(SRC)/k6opt.s
|
||||
@@ -253,7 +253,7 @@ GSM_OBJECTS = $(SRC)/add.o \
|
||||
$(SRC)/short_term.o \
|
||||
$(SRC)/table.o
|
||||
ifeq (${OSARCH},Linux)
|
||||
ifneq (${PROC},x86_64)
|
||||
ifneq ($(shell uname -m), x86_64)
|
||||
ifneq ($(shell uname -m), ppc)
|
||||
ifneq ($(shell uname -m), alpha)
|
||||
GSM_OBJECTS+= $(SRC)/k6opt.o
|
||||
|
@@ -1,4 +1,5 @@
|
||||
CFLAGS+=-Wall -Werror -fPIC -O3 -march=$(shell uname -m) -funroll-loops -fomit-frame-pointer
|
||||
ARCH=$(PROC)
|
||||
CFLAGS+=-Wall -Werror -fPIC -O3 -march=$(ARCH) -funroll-loops -fomit-frame-pointer
|
||||
LIB=libilbc.a
|
||||
|
||||
OBJS= anaFilter.o iCBSearch.o packing.o \
|
||||
|
Reference in New Issue
Block a user