1.1 --- a/patches/binutils/2.20.1/240-ld_makefile.patch Sun Sep 11 18:26:12 2011 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,27 +0,0 @@
1.4 -Description: correct where ld scripts are installed
1.5 -Author: Chris Chimelis <chris@debian.org>
1.6 -
1.7 -diff -durN binutils-2.20.1.orig/ld/Makefile.am binutils-2.20.1/ld/Makefile.am
1.8 ---- binutils-2.20.1.orig/ld/Makefile.am 2010-02-22 09:07:01.000000000 +0100
1.9 -+++ binutils-2.20.1/ld/Makefile.am 2010-08-17 19:32:21.000000000 +0200
1.10 -@@ -24,7 +24,7 @@
1.11 - # We put the scripts in the directory $(scriptdir)/ldscripts.
1.12 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
1.13 - # directives need to be different for native and cross linkers.
1.14 --scriptdir = $(tooldir)/lib
1.15 -+scriptdir = $(libdir)
1.16 -
1.17 - EMUL = @EMUL@
1.18 - EMULATION_OFILES = @EMULATION_OFILES@
1.19 -diff -durN binutils-2.20.1.orig/ld/Makefile.in binutils-2.20.1/ld/Makefile.in
1.20 ---- binutils-2.20.1.orig/ld/Makefile.in 2010-03-03 15:06:21.000000000 +0100
1.21 -+++ binutils-2.20.1/ld/Makefile.in 2010-08-17 19:32:21.000000000 +0200
1.22 -@@ -333,7 +333,7 @@
1.23 - # We put the scripts in the directory $(scriptdir)/ldscripts.
1.24 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
1.25 - # directives need to be different for native and cross linkers.
1.26 --scriptdir = $(tooldir)/lib
1.27 -+scriptdir = $(libdir)
1.28 - BASEDIR = $(srcdir)/..
1.29 - BFDDIR = $(BASEDIR)/bfd
1.30 - INCDIR = $(BASEDIR)/include