From: Russell Bryant Date: Tue, 16 Mar 2010 20:47:15 +0000 (+0000) Subject: Use uname -s, as done in trunk. X-Git-Tag: 1.4.31-rc1~2^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c87d730f672c63448190e4587f0e23f5e2b42d;p=thirdparty%2Fasterisk.git Use uname -s, as done in trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@252927 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 20fcb5021f..43110f314a 100644 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -37,9 +37,9 @@ WAV49 = -DWAV49 ######### ppro's, etc, as well as the AMD K6 and K7. The compile will ######### probably require gcc. -ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) - ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) - ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 )) +ifeq (,$(findstring $(shell uname -s),Darwin SunOS)) + ifeq (,$(findstring $(PROC),x86_64 amd64 ultrasparc sparc64 arm armv5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) + ifeq (,$(findstring $(shell uname -m),ppc ppc64 alpha armv4l s390)) OPTIMIZE+=-march=$(PROC) endif endif