blob: e778f81575547058856c85b321869420c586aaf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 5eeeff19bb4978a8d3c0d53bc81744bc25d82993 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sat, 14 Apr 2018 13:07:39 +0100
Subject: [PATCH] gcc/config.gcc: sh-*: Disable sysroot-suffix (PR42947)
sh-* is a multilib target. It is also one of 2 sysroot-prefix targets.
Unfortunately two options do not mix well. Attempt to use default
multilib flavour always prepends sysroot-prefix.
Bug: https://bugs.gentoo.org/511548
Bug: https://gcc.gnu.org/PR42947
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3328,8 +3328,6 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
if test x${enable_incomplete_targets} = xyes ; then
tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1"
fi
- tm_file="$tm_file ./sysroot-suffix.h"
- tmake_file="$tmake_file t-sysroot-suffix"
;;
sh-*-rtems*)
tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
--
2.17.0
|