diff options
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.patch | 31 |
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 @@ | |||
1 | From 74cc21f474402cf3578e37e1d7a1a22bbd070f6a Mon Sep 17 00:00:00 2001 | 1 | From a4fd05ff8e8ed7252d7b302891ac842cbb190c41 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 29 Mar 2013 08:59:00 +0400 | 3 | Date: Fri, 29 Mar 2013 08:59:00 +0400 |
4 | Subject: [PATCH] gcc: poison-system-directories | 4 | Subject: [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 | ||
29 | diff --git a/gcc/common.opt b/gcc/common.opt | 29 | diff --git a/gcc/common.opt b/gcc/common.opt |
30 | index 3ec7743ea..d3c3e51dc 100644 | 30 | index 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. |
44 | diff --git a/gcc/config.in b/gcc/config.in | 44 | diff --git a/gcc/config.in b/gcc/config.in |
45 | index 364eba477..7d2c3bbf1 100644 | 45 | index 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. */ |
65 | diff --git a/gcc/configure b/gcc/configure | 65 | diff --git a/gcc/configure b/gcc/configure |
66 | index 2a9d646b4..a848792f2 100755 | 66 | index 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 | ||
109 | diff --git a/gcc/configure.ac b/gcc/configure.ac | 109 | diff --git a/gcc/configure.ac b/gcc/configure.ac |
110 | index 51cce36ce..66ffde305 100644 | 110 | index 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) |
136 | diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi | 136 | diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi |
137 | index d929eb109..aa5ff88b1 100644 | 137 | index 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 |
163 | diff --git a/gcc/gcc.c b/gcc/gcc.c | 163 | diff --git a/gcc/gcc.c b/gcc/gcc.c |
164 | index 49c9c6c17..24a92bf27 100644 | 164 | index 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. */ |
190 | diff --git a/gcc/incpath.c b/gcc/incpath.c | 190 | diff --git a/gcc/incpath.c b/gcc/incpath.c |
191 | index 94eaba7b1..bfad4ebe3 100644 | 191 | index 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 | -- | ||
230 | 2.25.1 | ||
231 | |||