summaryrefslogtreecommitdiff
path: root/codecs/lpc10
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-08 04:13:19 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-08 04:13:19 +0000
commit0941c32d38efef90cb3dafe463740b78329d1aa1 (patch)
treeac7748259e8c5731376a912004a76e59ab0b1c3d /codecs/lpc10
parentebf04fc5709739a1ee8beaf14dca62c29135b46a (diff)
issue #5569 minus lock.h changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10')
-rwxr-xr-xcodecs/lpc10/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 01f7a7b81..b56a59ba4 100755
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -22,7 +22,10 @@ LIB_TARGET_DIR = .
#
WARNINGS = -Wall -Wno-comment -Wno-error
-CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
+CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS)
+ifneq (${OSARCH},CYGWIN)
+CFLAGS += -fPIC
+endif
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
#fix for PPC processors and ALPHA, And UltraSparc too