0005-Point-scripts-location-to-libdir.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 1a9fcaae50e63b993019bd4dc00219e43421efdc Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Mon, 2 Mar 2015 01:09:58 +0000
  4. Subject: [PATCH] Point scripts location to libdir
  5. Upstream-Status: Inappropriate [debian patch]
  6. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  7. ---
  8. ld/Makefile.am | 2 +-
  9. ld/Makefile.in | 2 +-
  10. 2 files changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/ld/Makefile.am b/ld/Makefile.am
  12. index fd196541f59..d94fa7e64e1 100644
  13. --- a/ld/Makefile.am
  14. +++ b/ld/Makefile.am
  15. @@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
  16. # We put the scripts in the directory $(scriptdir)/ldscripts.
  17. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  18. # directives need to be different for native and cross linkers.
  19. -scriptdir = $(tooldir)/lib
  20. +scriptdir = $(libdir)
  21. EMUL = @EMUL@
  22. EMULATION_OFILES = @EMULATION_OFILES@
  23. diff --git a/ld/Makefile.in b/ld/Makefile.in
  24. index cb8f5bfb70e..9a58879c5ca 100644
  25. --- a/ld/Makefile.in
  26. +++ b/ld/Makefile.in
  27. @@ -563,7 +563,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
  28. # We put the scripts in the directory $(scriptdir)/ldscripts.
  29. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  30. # directives need to be different for native and cross linkers.
  31. -scriptdir = $(tooldir)/lib
  32. +scriptdir = $(libdir)
  33. BASEDIR = $(srcdir)/..
  34. BFDDIR = $(BASEDIR)/bfd
  35. INCDIR = $(BASEDIR)/include