summaryrefslogtreecommitdiff
path: root/patches/binutils/2.19/190-libiberty-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/binutils/2.19/190-libiberty-pic.patch')
-rw-r--r--patches/binutils/2.19/190-libiberty-pic.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/binutils/2.19/190-libiberty-pic.patch b/patches/binutils/2.19/190-libiberty-pic.patch
new file mode 100644
index 0000000..644ec1e
--- /dev/null
+++ b/patches/binutils/2.19/190-libiberty-pic.patch
@@ -0,0 +1,14 @@
+Original patch from Gentoo:
+gentoo/src/patchsets/binutils/2.19/91_all_libiberty-pic.patch
+
+diff -durN binutils-2.19.orig/libiberty/Makefile.in binutils-2.19/libiberty/Makefile.in
+--- binutils-2.19.orig/libiberty/Makefile.in 2008-07-24 15:51:49.000000000 +0200
++++ binutils-2.19/libiberty/Makefile.in 2008-11-23 17:03:33.000000000 +0100
+@@ -227,6 +227,7 @@
+ $(AR) $(AR_FLAGS) $(TARGETLIB) \
+ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
+ $(RANLIB) $(TARGETLIB); \
++ cp $(TARGETLIB) ../ ; \
+ cd ..; \
+ else true; fi
+