dect
/
asterisk
Archived
13
0
Fork 0

Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5645 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mattf 2005-05-13 14:59:01 +00:00
parent 6c5a457ba9
commit bafac20626
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,8 @@ ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
ifneq (${PROC},sparc64)
ifneq (${PROC},arm)
ifneq (${PROC},ppc)
ifneq (${PROC},ppc64)
OPTIMIZE+=-march=$(PROC)
endif
endif
@ -56,6 +58,8 @@ endif
endif
endif
endif
endif
endif
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
#This works for even old (2.96) versions of gcc and provides a small boost either way.