summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.2/170-libiberty-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/4.3.2/170-libiberty-pic.patch')
-rw-r--r--patches/gcc/4.3.2/170-libiberty-pic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gcc/4.3.2/170-libiberty-pic.patch b/patches/gcc/4.3.2/170-libiberty-pic.patch
new file mode 100644
index 0000000..0b1e6b4
--- /dev/null
+++ b/patches/gcc/4.3.2/170-libiberty-pic.patch
@@ -0,0 +1,12 @@
+Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch
+diff -durN gcc-4.3.1.orig/libiberty/Makefile.in gcc-4.3.1/libiberty/Makefile.in
+--- gcc-4.3.1.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200
++++ gcc-4.3.1/libiberty/Makefile.in 2008-06-10 14:58:02.000000000 +0200
+@@ -225,6 +225,7 @@
+ $(AR) $(AR_FLAGS) $(TARGETLIB) \
+ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
+ $(RANLIB) $(TARGETLIB); \
++ cp $(TARGETLIB) ../ ; \
+ cd ..; \
+ else true; fi
+