diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 16:33:00 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 16:33:00 +0000 |
commit | 4d4a7c00d7059211a2b10fbeca6d442fd58e8a77 (patch) | |
tree | 84d97a2ef137a860bc9d7d4c32d01ec8f0dbd6b2 /channels/Makefile | |
parent | 28f0f8240e24ca71d123648b9078941eb3771be3 (diff) |
More Asterisk sparc patches (courtesy Belgarath)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3693 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-x | channels/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile index d9b670999..f73ce058c 100755 --- a/channels/Makefile +++ b/channels/Makefile @@ -7,11 +7,15 @@ # # Mark Spencer <markster@linux-support.net> # +# Edited By Belgarath <> Aug 28 2004 +# Added bare bones ultrasparc-linux support. +# # This program is free software, distributed under the terms of # the GNU General Public License # OSARCH=$(shell uname -s) +PROC=$(shell uname -m) USE_MYSQL_FRIENDS=0 USE_SIP_MYSQL_FRIENDS=0 @@ -45,6 +49,12 @@ MYSQLLIB=-L/usr/lib/mysql -lmysqlclient PTLIB=-lpt_linux_x86_r H323LIB=-lh323_linux_x86_r CHANH323LIB=-ldl + +ifeq ($(PROC),sparc64) +PROC=ultrasparc +CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8 +endif + endif ifeq (${OSARCH},FreeBSD) PTLIB=-lpt_FreeBSD_x86_r |