aboutsummaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/xmlrpc-c-devel/files/patch-src-cpp-Makefile')
-rw-r--r--net/xmlrpc-c-devel/files/patch-src-cpp-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile b/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile
new file mode 100644
index 000000000000..11ef6216f427
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-src-cpp-Makefile
@@ -0,0 +1,11 @@
+--- 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) $<