diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 03:31:59 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 03:31:59 +0000 |
commit | 3f5d756338caeffa1b0bdb98a79ad5feb914cfe1 (patch) | |
tree | 489844c86c78613bfbbd1084ff82dbff1c48ff7d /codecs/lpc10 | |
parent | 2efdde182aed1cdcdf0541802f9c55b91b90af5f (diff) |
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3684 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/lpc10')
-rwxr-xr-x | codecs/lpc10/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile index cd1e973ef..f747e64a5 100755 --- a/codecs/lpc10/Makefile +++ b/codecs/lpc10/Makefile @@ -25,13 +25,17 @@ WARNINGS = -Wall -Wno-comment -Wno-error CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC #CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi) -#fix for PPC processors and ALPHA too +#fix for PPC processors and ALPHA, And UltraSparc too ifneq ($(OSARCH),Darwin) ifneq ($(findstring BSD,${OSARCH}),BSD) ifneq ($(PROC),ppc) ifneq ($(PROC),x86_64) ifneq ($(PROC),alpha) - CFLAGS+= -march=$(PROC) +ifeq ($(PROC),ultrasparc) + CFLAGS+= -mtune=$(PROC) +else + CFLAGS+= -march=$(PROC) +endif endif endif endif |