1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/binutils/2.20/240-ld_makefile.patch Sun May 08 11:02:18 2011 +0200
1.3 @@ -0,0 +1,25 @@
1.4 +Description: correct where ld scripts are installed
1.5 +Author: Chris Chimelis <chris@debian.org>
1.6 +
1.7 +--- binutils-2.16.91.0.1/ld/Makefile.am
1.8 ++++ binutils-2.16.91.0.1/ld/Makefile.am
1.9 +@@ -20,7 +20,7 @@
1.10 + # We put the scripts in the directory $(scriptdir)/ldscripts.
1.11 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
1.12 + # directives need to be different for native and cross linkers.
1.13 +-scriptdir = $(tooldir)/lib
1.14 ++scriptdir = $(libdir)
1.15 +
1.16 + EMUL = @EMUL@
1.17 + EMULATION_OFILES = @EMULATION_OFILES@
1.18 +--- binutils-2.16.91.0.1/ld/Makefile.in
1.19 ++++ binutils-2.16.91.0.1/ld/Makefile.in
1.20 +@@ -268,7 +268,7 @@
1.21 + # We put the scripts in the directory $(scriptdir)/ldscripts.
1.22 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
1.23 + # directives need to be different for native and cross linkers.
1.24 +-scriptdir = $(tooldir)/lib
1.25 ++scriptdir = $(libdir)
1.26 + BASEDIR = $(srcdir)/..
1.27 + BFDDIR = $(BASEDIR)/bfd
1.28 + INCDIR = $(BASEDIR)/include