summaryrefslogtreecommitdiff
path: root/binutils/patches/001_ld_makefile_patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/patches/001_ld_makefile_patch.patch')
-rw-r--r--binutils/patches/001_ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/binutils/patches/001_ld_makefile_patch.patch b/binutils/patches/001_ld_makefile_patch.patch
new file mode 100644
index 0000000..67160fe
--- /dev/null
+++ b/binutils/patches/001_ld_makefile_patch.patch
@@ -0,0 +1,27 @@
+Author:
+Description: Description: correct where ld scripts are installed
+Author: Chris Chimelis <chris@debian.org>
+Upstream status: N/A
+Date: ??
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -24,7 +24,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@
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -337,7 +337,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