summaryrefslogtreecommitdiff
path: root/packages/binutils/2.36.1/0001-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-02-14 02:56:42 (GMT)
committerGitHub <noreply@github.com>2021-02-14 02:56:42 (GMT)
commit8d30e8fd148af05ab86c2ce44f7c1955159c04e3 (patch)
tree26f360485d4ffd060d804296ffe338e60f7cf69e /packages/binutils/2.36.1/0001-ld_makefile_patch.patch
parent5b0e0127e189c08e433ae25dbceead63da5ef2d7 (diff)
parentacd3df9fd11ce8316ae3a8db724ee4e8b5ac23a2 (diff)
Merge pull request #1455 from egtvedt/add-binutils-2.36.1-and-glibc-2.33
Add binutils 2.36.1 and glibc 2.33
Diffstat (limited to 'packages/binutils/2.36.1/0001-ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.36.1/0001-ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/binutils/2.36.1/0001-ld_makefile_patch.patch b/packages/binutils/2.36.1/0001-ld_makefile_patch.patch
new file mode 100644
index 0000000..1c03d02
--- /dev/null
+++ b/packages/binutils/2.36.1/0001-ld_makefile_patch.patch
@@ -0,0 +1,27 @@
+---
+ ld/Makefile.am | 2 +-
+ ld/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ # 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
+@@ -561,7 +561,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ # 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