blob: d7e156e7a334b307e8ae6caf40cc179405b49f93 [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From 8a62cc0a64670e39f462c1dbbf82e04d2f03b89e Mon Sep 17 00:00:00 2001
Brad Bishopbec4ebc2022-08-03 09:55:16 -04002From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 22 Dec 2021 12:49:25 +0100
4Subject: [PATCH] Fix install path of linux64.h
5
6We add linux64.h to tm includes[1] as a relative path to B. This patch
7adapts the install path of linux64.h to match the include in tm.h.
8
9[1] 0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch
10
11Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
12
13Upstream-Status: Inappropriate [configuration]
Patrick Williams2194f502022-10-16 14:26:09 -050014Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishopbec4ebc2022-08-03 09:55:16 -040015---
16 gcc/Makefile.in | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/gcc/Makefile.in b/gcc/Makefile.in
Patrick Williams2194f502022-10-16 14:26:09 -050020index 06eb0d27a28..a8678ca24ed 100644
Brad Bishopbec4ebc2022-08-03 09:55:16 -040021--- a/gcc/Makefile.in
22+++ b/gcc/Makefile.in
Patrick Williams2194f502022-10-16 14:26:09 -050023@@ -3686,6 +3686,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
Brad Bishopbec4ebc2022-08-03 09:55:16 -040024 "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \
25 | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
26 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
27+ */linux64.h ) \
28+ base=`dirname $$path`;;\
29 *) base=`basename $$path` ;; \
30 esac; \
31 dest=$(plugin_includedir)/$$base; \