aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-16 20:47:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-16 20:47:15 +0000
commit91430863bddb3ca4ae9d68f1a223c65b1efd1868 (patch)
tree8e791562bae616f50689692b88e9f49684b3a68a /codecs
parente0d22e6d9c8501163a86d01ea87cffe1c07d0464 (diff)
Use uname -s, as done in trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252927 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r--codecs/gsm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 20fcb5021..43110f314 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