diff options
author | Sam James <sam@gentoo.org> | 2022-08-15 17:43:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-18 21:03:39 +0100 |
commit | 0f4d1be169eebcc993c567da333c96c3b4e6abbe (patch) | |
tree | 882d02fdc0f865779ca9847949c5840b5b9aa0e5 /9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch | |
parent | 11.4.0: add 50_all_calloc_libgccjit (diff) | |
download | gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.tar.gz gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.tar.bz2 gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.zip |
9.5.0: clone of 9.4.0, add glibc-2.36 patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch')
-rw-r--r-- | 9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch b/9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch new file mode 100644 index 0000000..3dadd4c --- /dev/null +++ b/9.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch @@ -0,0 +1,32 @@ +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> +--- + gcc/config.gcc | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/gcc/config.gcc b/gcc/config.gcc +index 55c314afdbd..c320f24f123 100644 +--- a/gcc/config.gcc ++++ b/gcc/config.gcc +@@ -2866,8 +2866,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 + |