aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-02-03 16:23:01 +0000
committerNicolas Thill <nico@openwrt.org>2009-02-03 16:23:01 +0000
commit3cdd8c0d66a4e0c7281bf23345e4973763d0ebbf (patch)
tree06177ec2e6c6aff064fec747682290969135d523 /toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch
parent2d0ff5eb7a05d6f946c1b0e2dcf255b36f30da6f (diff)
downloadupstream-3cdd8c0d66a4e0c7281bf23345e4973763d0ebbf.tar.gz
upstream-3cdd8c0d66a4e0c7281bf23345e4973763d0ebbf.tar.bz2
upstream-3cdd8c0d66a4e0c7281bf23345e4973763d0ebbf.zip
[toolchain] binutils: add support for v2.19.1 (from #4492, thanks to dwrobel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14393 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000000..74e9f58219
--- /dev/null
+++ b/toolchain/binutils/patches/2.19.1/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -18,7 +18,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+ # 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
+@@ -291,7 +291,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+ # 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