From: Tilghman Lesher Date: Tue, 16 Mar 2010 18:40:14 +0000 (+0000) Subject: OSARCH is not inherited to this directory X-Git-Tag: 11.0.0-beta1~3280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcdd407f5cb1d0f4973f01446b3fd91ccb6f805d;p=thirdparty%2Fasterisk.git OSARCH is not inherited to this directory git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252760 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 1153fee5d6..f8a4c477ad 100644 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -37,7 +37,7 @@ 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 $(shell uname -s),Darwin SunOS)) ifeq (,$(strip $(findstring $(PROC) ,"x86_64 amd64 ultrasparc sparc64 arm armv5b armeb ppc powerpc ppc64 ia64 s390 bfin mipsel mips "))) ifeq (,$(strip $(findstring $(shell uname -m) ,"ppc ppc64 alpha armv4l s390 "))) OPTIMIZE+=-march=$(PROC)