summaryrefslogtreecommitdiff
path: root/patches/binutils/2.17/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-01 16:33:17 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-01 16:33:17 (GMT)
commite5e9d70de47e000b8018d74589998dd1de0fd793 (patch)
tree744bcc5432df3efb683284e7ead442573bda9427 /patches/binutils/2.17/300-001_ld_makefile_patch.patch
parent94a79a1186d560beaf870bd761520c839c9d7665 (diff)
Vampirise patches for binutils 2.17 from buildroot.
Diffstat (limited to 'patches/binutils/2.17/300-001_ld_makefile_patch.patch')
-rw-r--r--patches/binutils/2.17/300-001_ld_makefile_patch.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/binutils/2.17/300-001_ld_makefile_patch.patch b/patches/binutils/2.17/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..b40ec67
--- /dev/null
+++ b/patches/binutils/2.17/300-001_ld_makefile_patch.patch
@@ -0,0 +1,24 @@
+diff -dur binutils-2.17.old/ld/Makefile.am binutils-2.17/ld/Makefile.am
+--- binutils-2.17.old/ld/Makefile.am 2006-06-03 06:45:50.000000000 +0200
++++ binutils-2.17/ld/Makefile.am 2007-05-01 18:26:09.000000000 +0200
+@@ -20,7 +20,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 -dur binutils-2.17.old/ld/Makefile.in binutils-2.17/ld/Makefile.in
+--- binutils-2.17.old/ld/Makefile.in 2006-06-03 06:45:50.000000000 +0200
++++ binutils-2.17/ld/Makefile.in 2007-05-01 18:26:09.000000000 +0200
+@@ -269,7 +269,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