summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 09:53:58 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 09:53:58 +0000
commitad4c6c4a5d374680792d82fcba13d9fcc77d1a67 (patch)
tree57bdbd189b9fb778ff3ebf5a9ef206a72a5d6667 /toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch
parent57411a3935f38a7a86e4b2aa43f9417640020db2 (diff)
binutils: add binutils 2.21.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch
new file mode 100644
index 000000000..275987269
--- /dev/null
+++ b/toolchain/binutils/patches/2.21.1/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -37,7 +37,7 @@ endif
+ # 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
+@@ -360,7 +360,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