[asterisk-commits] russell: branch 1.4 r252927 - /branches/1.4/codecs/gsm/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 16 15:47:18 CDT 2010


Author: russell
Date: Tue Mar 16 15:47:15 2010
New Revision: 252927

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=252927
Log:
Use uname -s, as done in trunk.

Modified:
    branches/1.4/codecs/gsm/Makefile

Modified: branches/1.4/codecs/gsm/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/codecs/gsm/Makefile?view=diff&rev=252927&r1=252926&r2=252927
==============================================================================
--- branches/1.4/codecs/gsm/Makefile (original)
+++ branches/1.4/codecs/gsm/Makefile Tue Mar 16 15:47:15 2010
@@ -37,9 +37,9 @@
 ######### 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




More information about the asterisk-commits mailing list