diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 21:53:30 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 21:53:30 +0000 |
commit | 7ffb604a2f1f992870861d772d2879f59cf7a58a (patch) | |
tree | 17036a33b500972a312f1a5b2c75bee313f4b4d1 /codecs/gsm | |
parent | b05e64ed12fdf0c73938d517c7d09f17911d6226 (diff) |
issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) |