From 82db278716d32b40aedfa15e1045aa822b6e73be Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 31 Aug 2004 16:33:00 +0000 Subject: More Asterisk sparc patches (courtesy Belgarath) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/gsm/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'codecs/gsm/Makefile') diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 572f61e12..a21bd7e52 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -49,6 +49,15 @@ 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. +#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) +OPTIMIZE+=-mcpu=v8 -mtune=$(PROC) -O3 -fomit-frame-pointer +endif + PG = #PG = -g -pg ######### Profiling flags. If you don't know what that means, leave it blank. -- cgit v1.2.3