patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
changeset 747 d3e603e7c17c
parent 475 150c918bcb7b
child 1241 d9bcfb2d7369
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch	Mon Jul 28 21:32:33 2008 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +Fix ld scripts path, copied from buildroot.
     1.5 +
     1.6 + binutils-2.18.50.0.6/ld/Makefile.am |    2     1     1     0 +-
     1.7 + binutils-2.18.50.0.6/ld/Makefile.in |    2     1     1     0 +-
     1.8 + 2 files changed, 2 insertions(+), 2 deletions(-)
     1.9 +
    1.10 +diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
    1.11 +--- binutils-2.18.50.0.6.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
    1.12 ++++ binutils-2.18.50.0.6/ld/Makefile.am	2008-05-02 23:25:14.000000000 +0200
    1.13 +@@ -18,7 +18,7 @@
    1.14 + # We put the scripts in the directory $(scriptdir)/ldscripts.
    1.15 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    1.16 + # directives need to be different for native and cross linkers.
    1.17 +-scriptdir = $(tooldir)/lib
    1.18 ++scriptdir = $(libdir)
    1.19 + 
    1.20 + EMUL = @EMUL@
    1.21 + EMULATION_OFILES = @EMULATION_OFILES@
    1.22 +diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
    1.23 +--- binutils-2.18.50.0.6.orig/ld/Makefile.in	2008-04-03 18:54:05.000000000 +0200
    1.24 ++++ binutils-2.18.50.0.6/ld/Makefile.in	2008-05-02 23:25:14.000000000 +0200
    1.25 +@@ -288,7 +288,7 @@
    1.26 + # We put the scripts in the directory $(scriptdir)/ldscripts.
    1.27 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    1.28 + # directives need to be different for native and cross linkers.
    1.29 +-scriptdir = $(tooldir)/lib
    1.30 ++scriptdir = $(libdir)
    1.31 + BASEDIR = $(srcdir)/..
    1.32 + BFDDIR = $(BASEDIR)/bfd
    1.33 + INCDIR = $(BASEDIR)/include