[asterisk-commits] trunk r9123 - /trunk/channels/misdn/Makefile
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Thu Feb  2 15:05:48 MST 2006
    
    
  
Author: kpfleming
Date: Thu Feb  2 16:05:47 2006
New Revision: 9123
URL: http://svn.digium.com/view/asterisk?rev=9123&view=rev
Log:
make chan_misdn build on x86-64
Modified:
    trunk/channels/misdn/Makefile
Modified: trunk/channels/misdn/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/Makefile?rev=9123&r1=9122&r2=9123&view=diff
==============================================================================
--- trunk/channels/misdn/Makefile (original)
+++ trunk/channels/misdn/Makefile Thu Feb  2 16:05:47 2006
@@ -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 @@
 
 %.o: %.c
 	$(CC) $(CFLAGS) -o $@ $<
-	
+
 
 chan_misdn_lib.a:	$(OBJS)
 	ar crv $@ $(OBJS)
@@ -26,7 +29,7 @@
 	cd lib ; cvs -d:pserver:anonymous:readonly at cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ; 
 	cd lib/mISDN ; make install
 	cd lib/mISDNuser ; make install
-	
+
 FORCE:
 
 clean: 
    
    
More information about the asterisk-commits
mailing list