summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 11:50:25 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 11:50:25 +0000
commitf78ded20ee09c925046a015696c373437ea68d46 (patch)
treefcc99d59275a3605993ad9f53a2a7ac3e4ecb5ca /toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch
parent8fe94a14fefb59fd0635c65d89f78c200b7b3fab (diff)
add binutils-2.20.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20137 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch
new file mode 100644
index 000000000..3ca4a5866
--- /dev/null
+++ b/toolchain/binutils/patches/2.20.1/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -24,7 +24,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
+@@ -333,7 +333,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