Skip to content
Snippets Groups Projects
Commit a84d2cf4 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

make chan_misdn build on x86-64

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ec5dfabc
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
# Verify those options with main Makefile # Verify those options with main Makefile
CFLAGS = -pipe -c -Wall CFLAGS = -pipe -c -Wall
ifeq ($(PROC),x86_64)
CFLAGS += -fPIC
endif
SOURCES = isdn_lib.c isdn_msg_parser.c SOURCES = isdn_lib.c isdn_msg_parser.c
OBJDIR = . OBJDIR = .
OBJS = isdn_lib.o isdn_msg_parser.o fac.o OBJS = isdn_lib.o isdn_msg_parser.o fac.o
...@@ -16,7 +19,7 @@ all: chan_misdn_lib.a ...@@ -16,7 +19,7 @@ all: chan_misdn_lib.a
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -o $@ $< $(CC) $(CFLAGS) -o $@ $<
chan_misdn_lib.a: $(OBJS) chan_misdn_lib.a: $(OBJS)
ar crv $@ $(OBJS) ar crv $@ $(OBJS)
...@@ -26,7 +29,7 @@ misdn: ...@@ -26,7 +29,7 @@ misdn:
cd lib ; cvs -d:pserver:anonymous:readonly@cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ; cd lib ; cvs -d:pserver:anonymous:readonly@cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ;
cd lib/mISDN ; make install cd lib/mISDN ; make install
cd lib/mISDNuser ; make install cd lib/mISDNuser ; make install
FORCE: FORCE:
clean: clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment