summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/rrdtool/files/rrdtool-1.0.48-fPIC.patch')
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.0.48-fPIC.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.0.48-fPIC.patch b/net-analyzer/rrdtool/files/rrdtool-1.0.48-fPIC.patch
new file mode 100644
index 000000000000..2e740dbdaf07
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.0.48-fPIC.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in 2004-03-18 14:32:51.670818448 +0000
++++ src/Makefile.in 2004-03-18 14:33:05.911258477 +0000
+@@ -336,7 +336,7 @@
+ @AMDEP_TRUE@ ./$(DEPDIR)/rrd_xport.Plo
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -prefer-pic $(DEFS) $(DEFAULT_INCLUDES) \
+ $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \