diff options
author | Mark Spencer <markster@digium.com> | 2004-08-31 16:33:00 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-08-31 16:33:00 +0000 |
commit | 82db278716d32b40aedfa15e1045aa822b6e73be (patch) | |
tree | 84d97a2ef137a860bc9d7d4c32d01ec8f0dbd6b2 /codecs/lpc10 | |
parent | cfb711bf57a9fe8b85a188a5cf063d4a0fa8012a (diff) |
More Asterisk sparc patches (courtesy Belgarath)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10')
-rwxr-xr-x | codecs/lpc10/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile index f747e64a5..23d6886e8 100755 --- a/codecs/lpc10/Makefile +++ b/codecs/lpc10/Makefile @@ -31,8 +31,13 @@ ifneq ($(findstring BSD,${OSARCH}),BSD) ifneq ($(PROC),ppc) ifneq ($(PROC),x86_64) ifneq ($(PROC),alpha) +#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. +#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it. +#So we go lowest common available by gcc and go a step down, still a step up from +#the default as we now have a better instruction set to work with. - Belgarath ifeq ($(PROC),ultrasparc) - CFLAGS+= -mtune=$(PROC) + CFLAGS+= -mtune=$(PROC) -mcpu=v8 -O3 -fomit-frame-pointer else CFLAGS+= -march=$(PROC) endif |