freebsd-ports/net/xmlrpc-c/files/patch-src-cpp-Makefile
Chin-San Huang f6d9b952f6 - Fix linker issue with static xmlrpc-c libraries.
- Bump PORTREVISION

PR:		ports/128033
Submitted by:	Roman Bogorodskiy (novel@)
2008-10-24 09:02:02 +00:00

11 lines
463 B
Text

--- src/cpp/Makefile.orig 2008-10-12 21:53:42.000000000 +0400
+++ src/cpp/Makefile 2008-10-12 21:53:51.000000000 +0400
@@ -139,7 +139,7 @@
# RULES TO COMPILE OBJECT MODULES FOR LIBRARIES
#-----------------------------------------------------------------------------
-CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
+CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -fPIC
XmlRpcCpp.o:%.o:%.cpp
$(CXX) -c $(BASIC_INCLUDES) $(CXXFLAGS) $<