summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch17
1 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
index 18a9fb8701..b85f7ed2c7 100644
--- a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
@@ -14,14 +14,15 @@ wants this to be a failure, they can add "-Werror=poison-system-directories".
14Upstream-Status: Pending 14Upstream-Status: Pending
15Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 15Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> [ported to gcc 12]
17--- 18---
18 gcc/common.opt | 4 ++++ 19 gcc/common.opt | 4 ++++
19 gcc/config.in | 10 ++++++++++ 20 gcc/config.in | 10 ++++++++++
20 gcc/configure | 19 +++++++++++++++++++ 21 gcc/configure | 19 +++++++++++++++++++
21 gcc/configure.ac | 16 ++++++++++++++++ 22 gcc/configure.ac | 16 ++++++++++++++++
22 gcc/doc/invoke.texi | 9 +++++++++ 23 gcc/doc/invoke.texi | 9 +++++++++
23 gcc/gcc.c | 9 +++++++-- 24 gcc/gcc.cc | 9 +++++++--
24 gcc/incpath.c | 21 +++++++++++++++++++++ 25 gcc/incpath.cc | 21 +++++++++++++++++++++
25 7 files changed, 86 insertions(+), 2 deletions(-) 26 7 files changed, 86 insertions(+), 2 deletions(-)
26 27
27diff --git a/gcc/common.opt b/gcc/common.opt 28diff --git a/gcc/common.opt b/gcc/common.opt
@@ -158,10 +159,10 @@ index 7a368959e5e..6659a903bf0 100644
158 @item -Wfloat-equal 159 @item -Wfloat-equal
159 @opindex Wfloat-equal 160 @opindex Wfloat-equal
160 @opindex Wno-float-equal 161 @opindex Wno-float-equal
161diff --git a/gcc/gcc.c b/gcc/gcc.c 162diff --git a/gcc/gcc.cc b/gcc/gcc.cc
162index 7837553958b..19c75b6e20d 100644 163index 7837553958b..19c75b6e20d 100644
163--- a/gcc/gcc.c 164--- a/gcc/gcc.cc
164+++ b/gcc/gcc.c 165+++ b/gcc/gcc.cc
165@@ -1152,6 +1152,8 @@ proper position among the other output files. */ 166@@ -1152,6 +1152,8 @@ proper position among the other output files. */
166 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ 167 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
167 "%X %{o*} %{e*} %{N} %{n} %{r}\ 168 "%X %{o*} %{e*} %{N} %{n} %{r}\
@@ -185,10 +186,10 @@ index 7837553958b..19c75b6e20d 100644
185 186
186 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al. 187 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al.
187 188
188diff --git a/gcc/incpath.c b/gcc/incpath.c 189diff --git a/gcc/incpath.cc b/gcc/incpath.cc
189index 446d280321d..fbfc0ce03b8 100644 190index 446d280321d..fbfc0ce03b8 100644
190--- a/gcc/incpath.c 191--- a/gcc/incpath.cc
191+++ b/gcc/incpath.c 192+++ b/gcc/incpath.cc
192@@ -26,6 +26,7 @@ 193@@ -26,6 +26,7 @@
193 #include "intl.h" 194 #include "intl.h"
194 #include "incpath.h" 195 #include "incpath.h"