0024-Fix-install-path-of-linux64.h.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 3e67c9c77e46132c252911bf1e5e4222dfd3aa34 Mon Sep 17 00:00:00 2001
  2. From: Andrei Gherzan <andrei.gherzan@huawei.com>
  3. Date: Wed, 22 Dec 2021 12:49:25 +0100
  4. Subject: [PATCH] Fix install path of linux64.h
  5. We add linux64.h to tm includes[1] as a relative path to B. This patch
  6. adapts the install path of linux64.h to match the include in tm.h.
  7. [1] 0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch
  8. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
  9. Upstream-Status: Inappropriate [configuration]
  10. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  11. ---
  12. gcc/Makefile.in | 2 ++
  13. 1 file changed, 2 insertions(+)
  14. diff --git a/gcc/Makefile.in b/gcc/Makefile.in
  15. index 07fa63b6640..0def7394454 100644
  16. --- a/gcc/Makefile.in
  17. +++ b/gcc/Makefile.in
  18. @@ -3706,6 +3706,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
  19. "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \
  20. | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
  21. base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
  22. + */linux64.h ) \
  23. + base=`dirname $$path`;;\
  24. *) base=`basename $$path` ;; \
  25. esac; \
  26. dest=$(plugin_includedir)/$$base; \