summaryrefslogtreecommitdiff
path: root/legacy/gcc6/051_all_libiberty-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/gcc6/051_all_libiberty-pic.patch')
-rw-r--r--legacy/gcc6/051_all_libiberty-pic.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/legacy/gcc6/051_all_libiberty-pic.patch b/legacy/gcc6/051_all_libiberty-pic.patch
new file mode 100644
index 000000000..b6160a730
--- /dev/null
+++ b/legacy/gcc6/051_all_libiberty-pic.patch
@@ -0,0 +1,10 @@
+--- a/libiberty/Makefile.in
++++ b/libiberty/Makefile.in
+@@ -246,6 +246,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
+ $(AR) $(AR_FLAGS) $(TARGETLIB) \
+ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
+ $(RANLIB) $(TARGETLIB); \
++ cp $(TARGETLIB) ../ ; \
+ cd ..; \
+ else true; fi
+