diff options
author | Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> | 2022-04-07 15:26:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-09 19:50:39 +0100 |
commit | 540116ca70fb71ac489b61b74b3a397ff92f27e2 (patch) | |
tree | fc9e3c1d0342b2cc7a5f732a05fb256f89fa8a40 /meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch | |
parent | 9e2cb139fabf302fb85c292a8848d6fb66851d07 (diff) | |
download | openembedded-core-540116ca70fb71ac489b61b74b3a397ff92f27e2.tar.gz |
gcc: upgrade 11.2 -> current 12 snapshotuninative-3.6master-uninative
gcc 12 is expected to be released this month or early next month.
Update so we're prepared.
This keeps/ports all patches currently applied to 11.2 that haven't
landed upstream yet.
[v2: Back out the zephyr DWARF-4 workaround]
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch | 9 |
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: * gcc.c: Pass sysroot options to cpp for preprocessed source Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> +Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> [ported to gcc 12] [YOCTO #2074] Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582725.html] --- gcc/cp/lang-specs.h | 2 +- - gcc/gcc.c | 2 +- + gcc/gcc.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: gcc-11.2.0/gcc/cp/lang-specs.h @@ -44,10 +45,10 @@ Index: gcc-11.2.0/gcc/cp/lang-specs.h " %{!fsyntax-only:" " %{fmodule-only:%{!S:-o %g.s%V}}" " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}" -Index: gcc-11.2.0/gcc/gcc.c +Index: gcc-11.2.0/gcc/gcc.cc =================================================================== ---- gcc-11.2.0.orig/gcc/gcc.c -+++ gcc-11.2.0/gcc/gcc.c +--- gcc-11.2.0.orig/gcc/gcc.cc ++++ gcc-11.2.0/gcc/gcc.cc @@ -1470,7 +1470,7 @@ static const struct compiler default_com %W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0}, {".i", "@cpp-output", 0, 0, 0}, |