From f7aa382106df1a49d2b5458354278627031f4d92 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Thu, 10 Feb 2022 12:05:47 +0000 Subject: [PATCH] Description: correct where ld scripts are installed Upstream status: N/A Upstream status: N/A Date: ?? Gbp-Pq: Name 001_ld_makefile_patch.patch --- ld/Makefile.am | 2 +- ld/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am index b55a873d9..bfd03fe02 100644 --- 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@ diff --git a/ld/Makefile.in b/ld/Makefile.in index 5158fc85f..c1916e742 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -564,7 +564,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 -- 2.30.2