mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Added a small fix to exclude the AMD optimized assembly file from being included in the compile.
I don't particular like the approach, which basically tries to exclude the file based on NOT being in a list of arches. This, IMHO, is backwards, it should be a list of AMD arches instead. "Better to light a candle, than to curse the darkness", is apropo here. But since I don't have an exhaustive list of what those arches could be, I leave as-is for now. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -39,7 +39,7 @@ WAV49	= -DWAV49 | ||||
|  | ||||
| ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) | ||||
| ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm ppc ppc64 ia64 s390)) | ||||
| ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l )) | ||||
| ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 )) | ||||
| OPTIMIZE+=-march=$(PROC) | ||||
| endif | ||||
| endif | ||||
| @@ -209,7 +209,7 @@ GSM_SOURCES =	$(SRC)/add.c		\ | ||||
| # XXX Keep a space after each findstring argument | ||||
| # XXX should merge with GSM_OBJECTS | ||||
| ifeq (${OSARCH},Linux) | ||||
| ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc )) | ||||
| ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc s390 )) | ||||
| ifeq (,$(findstring ${PROC} , arm ia64 s390 )) | ||||
| GSM_SOURCES+= $(SRC)/k6opt.s | ||||
| endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user