Skip to content
Snippets Groups Projects
Commit 5f23eba1 authored by Malcolm Davenport's avatar Malcolm Davenport
Browse files

Bug #857. More fixes for GSM Makefile for PPC

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 036cb819
Branches
Tags
No related merge requests found
...@@ -39,9 +39,11 @@ WAV49 = -DWAV49 ...@@ -39,9 +39,11 @@ WAV49 = -DWAV49
ifneq (${OSARCH},Darwin) ifneq (${OSARCH},Darwin)
ifneq (${PROC},x86_64) ifneq (${PROC},x86_64)
ifneq ($(shell uname -m),ppc)
OPTIMIZE+=-march=$(PROC) OPTIMIZE+=-march=$(PROC)
endif endif
endif endif
endif
PG = PG =
#PG = -g -pg #PG = -g -pg
...@@ -197,9 +199,11 @@ GSM_SOURCES = $(SRC)/add.c \ ...@@ -197,9 +199,11 @@ GSM_SOURCES = $(SRC)/add.c \
$(SRC)/table.c $(SRC)/table.c
ifeq (${OSARCH},Linux) ifeq (${OSARCH},Linux)
ifneq (${PROC},x86_64) ifneq (${PROC},x86_64)
ifneq ($(shell uname -m),ppc)
GSM_SOURCES+= $(SRC)/k6opt.s GSM_SOURCES+= $(SRC)/k6opt.s
endif endif
endif endif
endif
TOAST_SOURCES = $(SRC)/toast.c \ TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \ $(SRC)/toast_lin.c \
...@@ -246,9 +250,11 @@ GSM_OBJECTS = $(SRC)/add.o \ ...@@ -246,9 +250,11 @@ GSM_OBJECTS = $(SRC)/add.o \
$(SRC)/table.o $(SRC)/table.o
ifeq (${OSARCH},Linux) ifeq (${OSARCH},Linux)
ifneq (${PROC},x86_64) ifneq (${PROC},x86_64)
ifneq ($(shell uname -m), ppc)
GSM_OBJECTS+= $(SRC)/k6opt.o GSM_OBJECTS+= $(SRC)/k6opt.o
endif endif
endif endif
endif
TOAST_OBJECTS = $(SRC)/toast.o \ TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \ $(SRC)/toast_lin.o \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment