diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-01 21:53:30 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-01 21:53:30 +0000 |
commit | 4d4023555b8c4e5812d2ac67242fe7754acc6def (patch) | |
tree | 17036a33b500972a312f1a5b2c75bee313f4b4d1 /codecs/gsm | |
parent | a68250b79bf5358b7cf67bbd9185409a17993abc (diff) |
issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm')
-rwxr-xr-x | codecs/gsm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 76f9e89ae..a2b5dcf1e 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -36,6 +36,7 @@ WAV49 = -DWAV49 ######### which support MMX instructions. This should be newer pentiums, ######### ppro's, etc, as well as the AMD K6 and K7. The compile will ######### probably require gcc. +PROC=$(shell uname -m) ifneq (${OSARCH},Darwin) ifneq (${OSARCH},SunOS) @@ -90,7 +91,11 @@ PG = # CCFLAGS = -c -O CC ?= gcc -CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC $(OPTIMIZE) +CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(OPTIMIZE) +ifneq ($(findstring CYGWIN,${OSARCH}),CYGWIN) +CCFLAGS += -fPIC +endif + LD = $(CC) |