summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch80
1 files changed, 40 insertions, 40 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch
index 3902a352a6..a44e86ca4f 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-system-directories.patch
@@ -27,11 +27,11 @@ Upstream-Status: Inappropriate [distribution: codesourcery]
27 ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of 27 ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of
28 /usr/include, /usr/local/include or /usr/X11R6/include. 28 /usr/include, /usr/local/include or /usr/X11R6/include.
29 29
30Index: gcc-4.6.0/gcc/common.opt 30Index: gcc-4_6-branch/gcc/common.opt
31=================================================================== 31===================================================================
32--- gcc-4.6.0.orig/gcc/common.opt 32--- gcc-4_6-branch.orig/gcc/common.opt 2012-03-03 01:03:17.000000000 -0800
33+++ gcc-4.6.0/gcc/common.opt 33+++ gcc-4_6-branch/gcc/common.opt 2012-03-04 09:24:54.410624483 -0800
34@@ -558,6 +558,10 @@ Wpadded 34@@ -567,6 +567,10 @@
35 Common Var(warn_padded) Warning 35 Common Var(warn_padded) Warning
36 Warn when padding is required to align structure members 36 Warn when padding is required to align structure members
37 37
@@ -42,10 +42,10 @@ Index: gcc-4.6.0/gcc/common.opt
42 Wshadow 42 Wshadow
43 Common Var(warn_shadow) Warning 43 Common Var(warn_shadow) Warning
44 Warn when one local variable shadows another 44 Warn when one local variable shadows another
45Index: gcc-4.6.0/gcc/config.in 45Index: gcc-4_6-branch/gcc/config.in
46=================================================================== 46===================================================================
47--- gcc-4.6.0.orig/gcc/config.in 47--- gcc-4_6-branch.orig/gcc/config.in 2012-03-03 01:03:17.000000000 -0800
48+++ gcc-4.6.0/gcc/config.in 48+++ gcc-4_6-branch/gcc/config.in 2012-03-04 09:24:54.410624483 -0800
49@@ -144,6 +144,12 @@ 49@@ -144,6 +144,12 @@
50 #endif 50 #endif
51 51
@@ -59,11 +59,11 @@ Index: gcc-4.6.0/gcc/config.in
59 /* Define if you want all operations on RTL (the basic data structure of the 59 /* Define if you want all operations on RTL (the basic data structure of the
60 optimizer and back end) to be checked for dynamic type safety at runtime. 60 optimizer and back end) to be checked for dynamic type safety at runtime.
61 This is quite expensive. */ 61 This is quite expensive. */
62Index: gcc-4.6.0/gcc/configure.ac 62Index: gcc-4_6-branch/gcc/configure.ac
63=================================================================== 63===================================================================
64--- gcc-4.6.0.orig/gcc/configure.ac 64--- gcc-4_6-branch.orig/gcc/configure.ac 2012-03-04 09:22:07.000000000 -0800
65+++ gcc-4.6.0/gcc/configure.ac 65+++ gcc-4_6-branch/gcc/configure.ac 2012-03-04 09:24:54.410624483 -0800
66@@ -4694,6 +4694,16 @@ else 66@@ -4692,6 +4692,16 @@
67 fi) 67 fi)
68 AC_SUBST(slibdir) 68 AC_SUBST(slibdir)
69 69
@@ -80,11 +80,11 @@ Index: gcc-4.6.0/gcc/configure.ac
80 # Substitute configuration variables 80 # Substitute configuration variables
81 AC_SUBST(subdirs) 81 AC_SUBST(subdirs)
82 AC_SUBST(srcdir) 82 AC_SUBST(srcdir)
83Index: gcc-4.6.0/gcc/doc/invoke.texi 83Index: gcc-4_6-branch/gcc/doc/invoke.texi
84=================================================================== 84===================================================================
85--- gcc-4.6.0.orig/gcc/doc/invoke.texi 85--- gcc-4_6-branch.orig/gcc/doc/invoke.texi 2012-03-03 00:46:39.000000000 -0800
86+++ gcc-4.6.0/gcc/doc/invoke.texi 86+++ gcc-4_6-branch/gcc/doc/invoke.texi 2012-03-04 09:24:54.414624482 -0800
87@@ -257,6 +257,7 @@ Objective-C and Objective-C++ Dialects}. 87@@ -257,6 +257,7 @@
88 -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol 88 -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol
89 -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol 89 -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol
90 -Wpointer-arith -Wno-pointer-to-int-cast @gol 90 -Wpointer-arith -Wno-pointer-to-int-cast @gol
@@ -92,7 +92,7 @@ Index: gcc-4.6.0/gcc/doc/invoke.texi
92 -Wredundant-decls @gol 92 -Wredundant-decls @gol
93 -Wreturn-type -Wsequence-point -Wshadow @gol 93 -Wreturn-type -Wsequence-point -Wshadow @gol
94 -Wsign-compare -Wsign-conversion -Wstack-protector @gol 94 -Wsign-compare -Wsign-conversion -Wstack-protector @gol
95@@ -3773,6 +3774,14 @@ headers---for that, @option{-Wunknown-pr 95@@ -3782,6 +3783,14 @@
96 for most targets, it is made up of code and thus requires the stack 96 for most targets, it is made up of code and thus requires the stack
97 to be made executable in order for the program to work properly. 97 to be made executable in order for the program to work properly.
98 98
@@ -107,11 +107,11 @@ Index: gcc-4.6.0/gcc/doc/invoke.texi
107 @item -Wfloat-equal 107 @item -Wfloat-equal
108 @opindex Wfloat-equal 108 @opindex Wfloat-equal
109 @opindex Wno-float-equal 109 @opindex Wno-float-equal
110Index: gcc-4.6.0/gcc/gcc.c 110Index: gcc-4_6-branch/gcc/gcc.c
111=================================================================== 111===================================================================
112--- gcc-4.6.0.orig/gcc/gcc.c 112--- gcc-4_6-branch.orig/gcc/gcc.c 2012-03-03 01:03:17.000000000 -0800
113+++ gcc-4.6.0/gcc/gcc.c 113+++ gcc-4_6-branch/gcc/gcc.c 2012-03-04 09:24:54.418624482 -0800
114@@ -659,6 +659,8 @@ proper position among the other output f 114@@ -659,6 +659,8 @@
115 %{flto} %{flto=*} %l " LINK_PIE_SPEC \ 115 %{flto} %{flto=*} %l " LINK_PIE_SPEC \
116 "%X %{o*} %{e*} %{N} %{n} %{r}\ 116 "%X %{o*} %{e*} %{N} %{n} %{r}\
117 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\ 117 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\
@@ -120,11 +120,11 @@ Index: gcc-4.6.0/gcc/gcc.c
120 %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ 120 %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\
121 %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ 121 %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\
122 %(mflib) " STACK_SPLIT_SPEC "\ 122 %(mflib) " STACK_SPLIT_SPEC "\
123Index: gcc-4.6.0/gcc/incpath.c 123Index: gcc-4_6-branch/gcc/incpath.c
124=================================================================== 124===================================================================
125--- gcc-4.6.0.orig/gcc/incpath.c 125--- gcc-4_6-branch.orig/gcc/incpath.c 2012-03-03 01:03:17.000000000 -0800
126+++ gcc-4.6.0/gcc/incpath.c 126+++ gcc-4_6-branch/gcc/incpath.c 2012-03-04 09:24:54.418624482 -0800
127@@ -353,6 +353,24 @@ merge_include_chains (const char *sysroo 127@@ -353,6 +353,24 @@
128 } 128 }
129 fprintf (stderr, _("End of search list.\n")); 129 fprintf (stderr, _("End of search list.\n"));
130 } 130 }
@@ -149,11 +149,11 @@ Index: gcc-4.6.0/gcc/incpath.c
149 } 149 }
150 150
151 /* Use given -I paths for #include "..." but not #include <...>, and 151 /* Use given -I paths for #include "..." but not #include <...>, and
152Index: gcc-4.6.0/gcc/Makefile.in 152Index: gcc-4_6-branch/gcc/Makefile.in
153=================================================================== 153===================================================================
154--- gcc-4.6.0.orig/gcc/Makefile.in 154--- gcc-4_6-branch.orig/gcc/Makefile.in 2012-03-04 09:22:05.000000000 -0800
155+++ gcc-4.6.0/gcc/Makefile.in 155+++ gcc-4_6-branch/gcc/Makefile.in 2012-03-04 09:24:54.418624482 -0800
156@@ -2179,7 +2179,7 @@ attribs.o : attribs.c $(CONFIG_H) $(SYST 156@@ -2179,7 +2179,7 @@
157 157
158 incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \ 158 incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \
159 intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \ 159 intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \
@@ -162,11 +162,11 @@ Index: gcc-4.6.0/gcc/Makefile.in
162 162
163 prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \ 163 prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \
164 Makefile $(BASEVER) 164 Makefile $(BASEVER)
165Index: gcc-4.6.0/gcc/configure 165Index: gcc-4_6-branch/gcc/configure
166=================================================================== 166===================================================================
167--- gcc-4.6.0.orig/gcc/configure 167--- gcc-4_6-branch.orig/gcc/configure 2012-03-04 09:22:07.000000000 -0800
168+++ gcc-4.6.0/gcc/configure 168+++ gcc-4_6-branch/gcc/configure 2012-03-04 09:25:31.502626277 -0800
169@@ -912,6 +912,7 @@ with_system_zlib 169@@ -912,6 +912,7 @@
170 enable_maintainer_mode 170 enable_maintainer_mode
171 enable_version_specific_runtime_libs 171 enable_version_specific_runtime_libs
172 with_slibdir 172 with_slibdir
@@ -174,7 +174,7 @@ Index: gcc-4.6.0/gcc/configure
174 enable_plugin 174 enable_plugin
175 enable_libquadmath_support 175 enable_libquadmath_support
176 ' 176 '
177@@ -1623,6 +1624,8 @@ Optional Features: 177@@ -1623,6 +1624,8 @@
178 --enable-version-specific-runtime-libs 178 --enable-version-specific-runtime-libs
179 specify that runtime libraries should be 179 specify that runtime libraries should be
180 installed in a compiler-specific directory 180 installed in a compiler-specific directory
@@ -183,25 +183,25 @@ Index: gcc-4.6.0/gcc/configure
183 --enable-plugin enable plugin support 183 --enable-plugin enable plugin support
184 --disable-libquadmath-support 184 --disable-libquadmath-support
185 disable libquadmath support for Fortran 185 disable libquadmath support for Fortran
186@@ -17508,7 +17511,7 @@ else 186@@ -17498,7 +17501,7 @@
187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
188 lt_status=$lt_dlunknown 188 lt_status=$lt_dlunknown
189 cat > conftest.$ac_ext <<_LT_EOF 189 cat > conftest.$ac_ext <<_LT_EOF
190-#line 17511 "configure" 190-#line 17501 "configure"
191+#line 17514 "configure" 191+#line 17504 "configure"
192 #include "confdefs.h" 192 #include "confdefs.h"
193 193
194 #if HAVE_DLFCN_H 194 #if HAVE_DLFCN_H
195@@ -17614,7 +17617,7 @@ else 195@@ -17604,7 +17607,7 @@
196 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 196 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
197 lt_status=$lt_dlunknown 197 lt_status=$lt_dlunknown
198 cat > conftest.$ac_ext <<_LT_EOF 198 cat > conftest.$ac_ext <<_LT_EOF
199-#line 17617 "configure" 199-#line 17607 "configure"
200+#line 17620 "configure" 200+#line 17610 "configure"
201 #include "confdefs.h" 201 #include "confdefs.h"
202 202
203 #if HAVE_DLFCN_H 203 #if HAVE_DLFCN_H
204@@ -26127,6 +26130,19 @@ fi 204@@ -26125,6 +26128,19 @@
205 205
206 206
207 207