summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
index 37f26f0728..1c0f381859 100644
--- a/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
@@ -22,13 +22,14 @@ gcc/ChangeLog:
22 * gcc.c: Pass sysroot options to cpp for preprocessed source 22 * gcc.c: Pass sysroot options to cpp for preprocessed source
23 23
24Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 24Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> [ported to gcc 12]
25 26
26[YOCTO #2074] 27[YOCTO #2074]
27 28
28Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582725.html] 29Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582725.html]
29--- 30---
30 gcc/cp/lang-specs.h | 2 +- 31 gcc/cp/lang-specs.h | 2 +-
31 gcc/gcc.c | 2 +- 32 gcc/gcc.cc | 2 +-
32 2 files changed, 2 insertions(+), 2 deletions(-) 33 2 files changed, 2 insertions(+), 2 deletions(-)
33 34
34Index: gcc-11.2.0/gcc/cp/lang-specs.h 35Index: gcc-11.2.0/gcc/cp/lang-specs.h
@@ -44,10 +45,10 @@ Index: gcc-11.2.0/gcc/cp/lang-specs.h
44 " %{!fsyntax-only:" 45 " %{!fsyntax-only:"
45 " %{fmodule-only:%{!S:-o %g.s%V}}" 46 " %{fmodule-only:%{!S:-o %g.s%V}}"
46 " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}" 47 " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}"
47Index: gcc-11.2.0/gcc/gcc.c 48Index: gcc-11.2.0/gcc/gcc.cc
48=================================================================== 49===================================================================
49--- gcc-11.2.0.orig/gcc/gcc.c 50--- gcc-11.2.0.orig/gcc/gcc.cc
50+++ gcc-11.2.0/gcc/gcc.c 51+++ gcc-11.2.0/gcc/gcc.cc
51@@ -1470,7 +1470,7 @@ static const struct compiler default_com 52@@ -1470,7 +1470,7 @@ static const struct compiler default_com
52 %W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0}, 53 %W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0},
53 {".i", "@cpp-output", 0, 0, 0}, 54 {".i", "@cpp-output", 0, 0, 0},