aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-02 22:05:47 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-02 22:05:47 +0000
commite2230d0f19d7cf252e246eb0e68912a7841bf97c (patch)
tree3c2db7065ca9e5e69f473ccbc52da9117f30a846 /channels/misdn
parenta53cfb04890d5350c12595194e694c7ca761adbd (diff)
make chan_misdn build on x86-64
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9123 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn')
-rw-r--r--channels/misdn/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/channels/misdn/Makefile b/channels/misdn/Makefile
index e64a19779..1429f9792 100644
--- a/channels/misdn/Makefile
+++ b/channels/misdn/Makefile
@@ -6,6 +6,9 @@
# Verify those options with main Makefile
CFLAGS = -pipe -c -Wall
+ifeq ($(PROC),x86_64)
+CFLAGS += -fPIC
+endif
SOURCES = isdn_lib.c isdn_msg_parser.c
OBJDIR = .
OBJS = isdn_lib.o isdn_msg_parser.o fac.o
@@ -16,7 +19,7 @@ all: chan_misdn_lib.a
%.o: %.c
$(CC) $(CFLAGS) -o $@ $<
-
+
chan_misdn_lib.a: $(OBJS)
ar crv $@ $(OBJS)
@@ -26,7 +29,7 @@ misdn:
cd lib ; cvs -d:pserver:anonymous:readonly@cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ;
cd lib/mISDN ; make install
cd lib/mISDNuser ; make install
-
+
FORCE:
clean: