X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=toolchain%2Fbinutils%2Fpatches%2F2.20%2F300-001_ld_makefile_patch.patch;fp=toolchain%2Fbinutils%2Fpatches%2F2.20%2F300-001_ld_makefile_patch.patch;h=3ca4a58661e90be9d15646de19ae69bf2e132320;hp=0000000000000000000000000000000000000000;hb=a1f7ac70653d6307b61408a5f9495f75041bd390;hpb=17747ab1accd3feccbd4e4265183063358b39274;ds=sidebyside diff --git a/toolchain/binutils/patches/2.20/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.20/300-001_ld_makefile_patch.patch new file mode 100644 index 000000000..3ca4a5866 --- /dev/null +++ b/toolchain/binutils/patches/2.20/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