projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5dfab
)
make chan_misdn build on x86-64
author
Kevin P. Fleming
<kpfleming@digium.com>
Thu, 2 Feb 2006 22:05:47 +0000
(22:05 +0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Thu, 2 Feb 2006 22:05:47 +0000
(22:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9123
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/misdn/Makefile
patch
|
blob
|
history
diff --git
a/channels/misdn/Makefile
b/channels/misdn/Makefile
index
e64a197
..
1429f97
100644
(file)
--- 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: