Description: correct where ld scripts are installed
authorChris Chimelis <chris@debian.org>
Wed, 22 Jan 2020 06:49:18 +0000 (06:49 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 22 Jan 2020 06:49:18 +0000 (06:49 +0000)
Upstream status: N/A

Upstream status: N/A

Gbp-Pq: Name 001_ld_makefile_patch.patch

ld/Makefile.am
ld/Makefile.in

index 2ed13eba87c27958fd4f15371d6ed5ca30f4ada0..b49d7d719dced005df4225a8e2039e2f12ec7db0 100644 (file)
@@ -63,7 +63,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@
index f635845643531d9e566a5b5ba7854fdc76dfd170..60ce32b7c582870bfee01ed23e3775de74245264 100644 (file)
@@ -572,7 +572,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