[libpri-commits] qwell: branch 1.4 r446 - in /branches/1.4: ./ Makefile

SVN commits to the libpri project libpri-commits at lists.digium.com
Mon Aug 27 14:21:08 CDT 2007


Author: qwell
Date: Mon Aug 27 14:21:08 2007
New Revision: 446

URL: http://svn.digium.com/view/libpri?view=rev&rev=446
Log:
Merged revisions 445 via svnmerge from 
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r445 | qwell | 2007-08-27 14:20:23 -0500 (Mon, 27 Aug 2007) | 2 lines

Make sure we build both the static and shared modules with -fPIC.

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/Makefile

Propchange: branches/1.4/
------------------------------------------------------------------------------
--- branch-1.2-merged (original)
+++ branch-1.2-merged Mon Aug 27 14:21:08 2007
@@ -1,1 +1,1 @@
-/branches/1.2:1-332,385,389,415,423,426
+/branches/1.2:1-332,385,389,415,423,426,445

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/libpri/branches/1.4/Makefile?view=diff&rev=446&r1=445&r2=446
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Aug 27 14:21:08 2007
@@ -36,7 +36,7 @@
 DYNAMIC_LIBRARY=libpri.so.1.0
 STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
 DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
 INSTALL_PREFIX=$(DESTDIR)
 INSTALL_BASE=/usr
 SOFLAGS = -Wl,-hlibpri.so.1.0
@@ -118,7 +118,7 @@
 endif
 
 %.lo : %.c
-	$(CC) -fPIC $(CFLAGS) -o $@ -c $<
+	$(CC) $(CFLAGS) -o $@ -c $<
 
 $(STATIC_LIBRARY): $(STATIC_OBJS)
 	ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)




More information about the libpri-commits mailing list