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.patch31
1 files changed, 14 insertions, 17 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 697bdc8219..c96f170196 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
@@ -1,4 +1,4 @@
1From 74cc21f474402cf3578e37e1d7a1a22bbd070f6a Mon Sep 17 00:00:00 2001 1From a4fd05ff8e8ed7252d7b302891ac842cbb190c41 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 08:59:00 +0400 3Date: Fri, 29 Mar 2013 08:59:00 +0400
4Subject: [PATCH] gcc: poison-system-directories 4Subject: [PATCH] gcc: poison-system-directories
@@ -27,7 +27,7 @@ Upstream-Status: Pending
27 7 files changed, 86 insertions(+), 2 deletions(-) 27 7 files changed, 86 insertions(+), 2 deletions(-)
28 28
29diff --git a/gcc/common.opt b/gcc/common.opt 29diff --git a/gcc/common.opt b/gcc/common.opt
30index 3ec7743ea..d3c3e51dc 100644 30index ec5235c3a41..ca942863064 100644
31--- a/gcc/common.opt 31--- a/gcc/common.opt
32+++ b/gcc/common.opt 32+++ b/gcc/common.opt
33@@ -682,6 +682,10 @@ Wreturn-local-addr 33@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -42,7 +42,7 @@ index 3ec7743ea..d3c3e51dc 100644
42 Common Var(warn_shadow) Warning 42 Common Var(warn_shadow) Warning
43 Warn when one variable shadows another. Same as -Wshadow=global. 43 Warn when one variable shadows another. Same as -Wshadow=global.
44diff --git a/gcc/config.in b/gcc/config.in 44diff --git a/gcc/config.in b/gcc/config.in
45index 364eba477..7d2c3bbf1 100644 45index 364eba47737..7d2c3bbf1a3 100644
46--- a/gcc/config.in 46--- a/gcc/config.in
47+++ b/gcc/config.in 47+++ b/gcc/config.in
48@@ -224,6 +224,16 @@ 48@@ -224,6 +224,16 @@
@@ -63,7 +63,7 @@ index 364eba477..7d2c3bbf1 100644
63 optimizer and back end) to be checked for dynamic type safety at runtime. 63 optimizer and back end) to be checked for dynamic type safety at runtime.
64 This is quite expensive. */ 64 This is quite expensive. */
65diff --git a/gcc/configure b/gcc/configure 65diff --git a/gcc/configure b/gcc/configure
66index 2a9d646b4..a848792f2 100755 66index 8fe9c91fd7c..8976850dff6 100755
67--- a/gcc/configure 67--- a/gcc/configure
68+++ b/gcc/configure 68+++ b/gcc/configure
69@@ -1010,6 +1010,7 @@ with_system_zlib 69@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -83,7 +83,7 @@ index 2a9d646b4..a848792f2 100755
83 --enable-plugin enable plugin support 83 --enable-plugin enable plugin support
84 --enable-host-shared build host code as shared libraries 84 --enable-host-shared build host code as shared libraries
85 --disable-libquadmath-support 85 --disable-libquadmath-support
86@@ -30280,6 +30283,22 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then : 86@@ -30276,6 +30279,22 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
87 fi 87 fi
88 88
89 89
@@ -107,10 +107,10 @@ index 2a9d646b4..a848792f2 100755
107 107
108 108
109diff --git a/gcc/configure.ac b/gcc/configure.ac 109diff --git a/gcc/configure.ac b/gcc/configure.ac
110index 51cce36ce..66ffde305 100644 110index 84dceb8074a..13eace6cfc6 100644
111--- a/gcc/configure.ac 111--- a/gcc/configure.ac
112+++ b/gcc/configure.ac 112+++ b/gcc/configure.ac
113@@ -6614,6 +6614,22 @@ AC_ARG_ENABLE(version-specific-runtime-libs, 113@@ -6608,6 +6608,22 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
114 [specify that runtime libraries should be 114 [specify that runtime libraries should be
115 installed in a compiler-specific directory])]) 115 installed in a compiler-specific directory])])
116 116
@@ -134,10 +134,10 @@ index 51cce36ce..66ffde305 100644
134 AC_SUBST(subdirs) 134 AC_SUBST(subdirs)
135 AC_SUBST(srcdir) 135 AC_SUBST(srcdir)
136diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi 136diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
137index d929eb109..aa5ff88b1 100644 137index eabeec944e7..cd31b522e42 100644
138--- a/gcc/doc/invoke.texi 138--- a/gcc/doc/invoke.texi
139+++ b/gcc/doc/invoke.texi 139+++ b/gcc/doc/invoke.texi
140@@ -351,6 +351,7 @@ Objective-C and Objective-C++ Dialects}. 140@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
141 -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded @gol 141 -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded @gol
142 -Wparentheses -Wno-pedantic-ms-format @gol 142 -Wparentheses -Wno-pedantic-ms-format @gol
143 -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast @gol 143 -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast @gol
@@ -145,7 +145,7 @@ index d929eb109..aa5ff88b1 100644
145 -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls @gol 145 -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls @gol
146 -Wrestrict -Wno-return-local-addr -Wreturn-type @gol 146 -Wrestrict -Wno-return-local-addr -Wreturn-type @gol
147 -Wno-scalar-storage-order -Wsequence-point @gol 147 -Wno-scalar-storage-order -Wsequence-point @gol
148@@ -6928,6 +6929,14 @@ made up of data only and thus requires no special treatment. But, for 148@@ -6926,6 +6927,14 @@ made up of data only and thus requires no special treatment. But, for
149 most targets, it is made up of code and thus requires the stack to be 149 most targets, it is made up of code and thus requires the stack to be
150 made executable in order for the program to work properly. 150 made executable in order for the program to work properly.
151 151
@@ -161,10 +161,10 @@ index d929eb109..aa5ff88b1 100644
161 @opindex Wfloat-equal 161 @opindex Wfloat-equal
162 @opindex Wno-float-equal 162 @opindex Wno-float-equal
163diff --git a/gcc/gcc.c b/gcc/gcc.c 163diff --git a/gcc/gcc.c b/gcc/gcc.c
164index 49c9c6c17..24a92bf27 100644 164index 9f790db0daf..f379f71da3d 100644
165--- a/gcc/gcc.c 165--- a/gcc/gcc.c
166+++ b/gcc/gcc.c 166+++ b/gcc/gcc.c
167@@ -1044,6 +1044,8 @@ proper position among the other output files. */ 167@@ -1041,6 +1041,8 @@ proper position among the other output files. */
168 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ 168 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
169 "%X %{o*} %{e*} %{N} %{n} %{r}\ 169 "%X %{o*} %{e*} %{N} %{n} %{r}\
170 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \ 170 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
@@ -173,7 +173,7 @@ index 49c9c6c17..24a92bf27 100644
173 %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \ 173 %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \
174 VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \ 174 VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \
175 %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\ 175 %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
176@@ -1138,8 +1140,11 @@ static const char *cpp_unique_options = 176@@ -1134,8 +1136,11 @@ static const char *cpp_unique_options =
177 static const char *cpp_options = 177 static const char *cpp_options =
178 "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\ 178 "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\
179 %{f*} %{g*:%{%:debug-level-gt(0):%{g*}\ 179 %{f*} %{g*:%{%:debug-level-gt(0):%{g*}\
@@ -188,7 +188,7 @@ index 49c9c6c17..24a92bf27 100644
188 /* This contains cpp options which are not passed when the preprocessor 188 /* This contains cpp options which are not passed when the preprocessor
189 output will be used by another program. */ 189 output will be used by another program. */
190diff --git a/gcc/incpath.c b/gcc/incpath.c 190diff --git a/gcc/incpath.c b/gcc/incpath.c
191index 94eaba7b1..bfad4ebe3 100644 191index 8a2bda00f80..9098ab044ab 100644
192--- a/gcc/incpath.c 192--- a/gcc/incpath.c
193+++ b/gcc/incpath.c 193+++ b/gcc/incpath.c
194@@ -26,6 +26,7 @@ 194@@ -26,6 +26,7 @@
@@ -226,6 +226,3 @@ index 94eaba7b1..bfad4ebe3 100644
226 } 226 }
227 227
228 /* Use given -I paths for #include "..." but not #include <...>, and 228 /* Use given -I paths for #include "..." but not #include <...>, and
229--
2302.25.1
231