mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -41,8 +41,8 @@ all: depend $(CODECS)
|
||||
|
||||
clean:
|
||||
rm -f *.so *.o .depend
|
||||
! [ -d g723.1 ] || $(MAKE) -C g723.1 clean
|
||||
! [ -d g723.1b ] || $(MAKE) -C g723.1b clean
|
||||
[ ! -d g723.1 ] || $(MAKE) -C g723.1 clean
|
||||
[ ! -d g723.1b ] || $(MAKE) -C g723.1b clean
|
||||
$(MAKE) -C gsm clean
|
||||
$(MAKE) -C lpc10 clean
|
||||
$(MAKE) -C ilbc clean
|
||||
|
@@ -38,6 +38,7 @@ WAV49 = -DWAV49
|
||||
######### probably require gcc.
|
||||
|
||||
ifneq (${OSARCH},Darwin)
|
||||
ifneq (${OSARCH},SunOS)
|
||||
ifneq (${PROC},x86_64)
|
||||
ifneq (${PROC},ultrasparc)
|
||||
ifneq ($(shell uname -m),ppc)
|
||||
@@ -48,6 +49,7 @@ 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.
|
||||
|
@@ -39,6 +39,7 @@ ifneq ($(PROC),alpha)
|
||||
ifeq ($(PROC),ultrasparc)
|
||||
CFLAGS+= -mtune=$(PROC) -mcpu=v8 -O3 -fomit-frame-pointer
|
||||
else
|
||||
ifneq ($(OSARCH),SunOS)
|
||||
CFLAGS+= -march=$(PROC)
|
||||
endif
|
||||
endif
|
||||
@@ -46,6 +47,7 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
LIB = $(LIB_TARGET_DIR)/liblpc10.a
|
||||
|
||||
|
Reference in New Issue
Block a user