summaryrefslogtreecommitdiff
path: root/patches/gcc/4.4.0/220-libiberty-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/4.4.0/220-libiberty-pic.patch')
-rw-r--r--patches/gcc/4.4.0/220-libiberty-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/gcc/4.4.0/220-libiberty-pic.patch b/patches/gcc/4.4.0/220-libiberty-pic.patch
new file mode 100644
index 0000000..ff13a4f
--- /dev/null
+++ b/patches/gcc/4.4.0/220-libiberty-pic.patch
@@ -0,0 +1,11 @@
+diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in
+--- gcc-4.4.0.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200
++++ gcc-4.4.0/libiberty/Makefile.in 2009-05-27 21:38:29.000000000 +0200
+@@ -227,6 +227,7 @@
+ $(AR) $(AR_FLAGS) $(TARGETLIB) \
+ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
+ $(RANLIB) $(TARGETLIB); \
++ cp $(TARGETLIB) ../ ; \
+ cd ..; \
+ else true; fi
+