summarylogtreecommitdiffstats
path: root/0001_ld_makefile_libdir.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001_ld_makefile_libdir.patch')
-rw-r--r--0001_ld_makefile_libdir.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0001_ld_makefile_libdir.patch b/0001_ld_makefile_libdir.patch
new file mode 100644
index 000000000000..82b65081dedd
--- /dev/null
+++ b/0001_ld_makefile_libdir.patch
@@ -0,0 +1,24 @@
+diff -urNad ld/Makefile.am ld_/Makefile.am
+--- ld/Makefile.am 2010-11-03 16:22:01.000000000 +1300
++++ ld_/Makefile.am 2011-06-14 22:48:48.942861545 +1200
+@@ -37,7 +37,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+
+ EMUL = @EMUL@
+ EMULATION_OFILES = @EMULATION_OFILES@
+diff -urNad ld/Makefile.in ld_/Makefile.in
+--- ld/Makefile.in 2010-11-05 23:34:22.000000000 +1300
++++ ld_/Makefile.in 2011-06-14 22:48:52.065772461 +1200
+@@ -360,7 +360,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+ BASEDIR = $(srcdir)/..
+ BFDDIR = $(BASEDIR)/bfd
+ INCDIR = $(BASEDIR)/include