summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch279
1 files changed, 279 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch b/meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch
new file mode 100644
index 0000000000..43a9d73dcf
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch
@@ -0,0 +1,279 @@
1Index: gcc-4.3.2/Makefile.def
2===================================================================
3--- gcc-4.3.2.orig/Makefile.def 2008-08-28 18:21:19.000000000 -0700
4+++ gcc-4.3.2/Makefile.def 2008-08-28 18:21:41.000000000 -0700
5@@ -207,6 +207,7 @@
6 flags_to_pass = { flag= BISON ; };
7 flags_to_pass = { flag= CC_FOR_BUILD ; };
8 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
9+flags_to_pass = { flag= CPPFLAGS_FOR_BUILD ; };
10 flags_to_pass = { flag= CXX_FOR_BUILD ; };
11 flags_to_pass = { flag= EXPECT ; };
12 flags_to_pass = { flag= FLEX ; };
13Index: gcc-4.3.2/gcc/Makefile.in
14===================================================================
15--- gcc-4.3.2.orig/gcc/Makefile.in 2008-08-28 18:21:20.000000000 -0700
16+++ gcc-4.3.2/gcc/Makefile.in 2008-08-28 18:21:41.000000000 -0700
17@@ -673,7 +673,7 @@
18
19 # Native linker and preprocessor flags. For x-fragment overrides.
20 BUILD_LDFLAGS=@BUILD_LDFLAGS@
21-BUILD_CPPFLAGS=$(ALL_CPPFLAGS)
22+BUILD_CPPFLAGS=$(INCLUDES) @BUILD_CPPFLAGS@ $(X_CPPFLAGS)
23
24 # Actual name to use when installing a native compiler.
25 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
26Index: gcc-4.3.2/gcc/configure.ac
27===================================================================
28--- gcc-4.3.2.orig/gcc/configure.ac 2008-08-28 18:21:20.000000000 -0700
29+++ gcc-4.3.2/gcc/configure.ac 2008-08-28 18:21:41.000000000 -0700
30@@ -1775,10 +1775,11 @@
31 # Also, we cannot run fixincludes or fix-header.
32
33 # These are the normal (build=host) settings:
34-CC_FOR_BUILD='$(CC)' AC_SUBST(CC_FOR_BUILD)
35-BUILD_CFLAGS='$(ALL_CFLAGS)' AC_SUBST(BUILD_CFLAGS)
36-BUILD_LDFLAGS='$(LDFLAGS)' AC_SUBST(BUILD_LDFLAGS)
37-STMP_FIXINC=stmp-fixinc AC_SUBST(STMP_FIXINC)
38+CC_FOR_BUILD='$(CC)' AC_SUBST(CC_FOR_BUILD)
39+BUILD_CFLAGS='$(ALL_CFLAGS)' AC_SUBST(BUILD_CFLAGS)
40+BUILD_LDFLAGS='$(LDFLAGS)' AC_SUBST(BUILD_LDFLAGS)
41+BUILD_CPPFLAGS='$(ALL_CPPFLAGS)' AC_SUBST(BUILD_CPPFLAGS)
42+STMP_FIXINC=stmp-fixinc AC_SUBST(STMP_FIXINC)
43
44 # Possibly disable fixproto, on a per-target basis.
45 case ${use_fixproto} in
46@@ -1796,6 +1797,7 @@
47 then
48 BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)'
49 BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)'
50+ BUILD_CPPFLAGS='$(CPPFLAGS_FOR_BUILD)'
51
52 if test "x$TARGET_SYSTEM_ROOT" = x; then
53 if test "x$STMP_FIXPROTO" != x; then
54Index: gcc-4.3.2/Makefile.in
55===================================================================
56--- gcc-4.3.2.orig/Makefile.in 2008-08-28 18:21:20.000000000 -0700
57+++ gcc-4.3.2/Makefile.in 2008-08-28 18:21:41.000000000 -0700
58@@ -272,6 +272,7 @@
59 AS_FOR_BUILD = @AS_FOR_BUILD@
60 CC_FOR_BUILD = @CC_FOR_BUILD@
61 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
62+CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
63 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
64 CXX_FOR_BUILD = @CXX_FOR_BUILD@
65 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
66@@ -502,6 +503,7 @@
67 "BISON=$(BISON)" \
68 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
69 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
70+ "CPPFLAGS_FOR_BUILD=$(CPPFLAGS_FOR_BUILD)" \
71 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
72 "EXPECT=$(EXPECT)" \
73 "FLEX=$(FLEX)" \
74Index: gcc-4.3.2/gcc/configure
75===================================================================
76--- gcc-4.3.2.orig/gcc/configure 2008-08-28 18:21:20.000000000 -0700
77+++ gcc-4.3.2/gcc/configure 2008-08-28 18:21:50.000000000 -0700
78@@ -458,7 +458,7 @@
79 # include <unistd.h>
80 #endif"
81
82-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn cxx_compat_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'
83+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn cxx_compat_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS BUILD_CPPFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'
84 ac_subst_files='language_hooks'
85
86 # Initialize some variables set by options.
87@@ -13471,6 +13471,7 @@
88 CC_FOR_BUILD='$(CC)'
89 BUILD_CFLAGS='$(ALL_CFLAGS)'
90 BUILD_LDFLAGS='$(LDFLAGS)'
91+BUILD_CPPFLAGS='$(ALL_CPPFLAGS)'
92 STMP_FIXINC=stmp-fixinc
93
94 # Possibly disable fixproto, on a per-target basis.
95@@ -13489,6 +13490,7 @@
96 then
97 BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)'
98 BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)'
99+ BUILD_CPPFLAGS='$(CPPFLAGS_FOR_BUILD)'
100
101 if test "x$TARGET_SYSTEM_ROOT" = x; then
102 if test "x$STMP_FIXPROTO" != x; then
103@@ -14067,13 +14069,13 @@
104 else
105 lt_cv_nm_interface="BSD nm"
106 echo "int some_variable = 0;" > conftest.$ac_ext
107- (eval echo "\"\$as_me:14070: $ac_compile\"" >&5)
108+ (eval echo "\"\$as_me:14072: $ac_compile\"" >&5)
109 (eval "$ac_compile" 2>conftest.err)
110 cat conftest.err >&5
111- (eval echo "\"\$as_me:14073: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
112+ (eval echo "\"\$as_me:14075: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
113 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
114 cat conftest.err >&5
115- (eval echo "\"\$as_me:14076: output\"" >&5)
116+ (eval echo "\"\$as_me:14078: output\"" >&5)
117 cat conftest.out >&5
118 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
119 lt_cv_nm_interface="MS dumpbin"
120@@ -15128,7 +15130,7 @@
121 ;;
122 *-*-irix6*)
123 # Find out which ABI we are using.
124- echo '#line 15131 "configure"' > conftest.$ac_ext
125+ echo '#line 15133 "configure"' > conftest.$ac_ext
126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127 (eval $ac_compile) 2>&5
128 ac_status=$?
129@@ -15748,11 +15750,11 @@
130 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
131 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
132 -e 's:$: $lt_compiler_flag:'`
133- (eval echo "\"\$as_me:15751: $lt_compile\"" >&5)
134+ (eval echo "\"\$as_me:15753: $lt_compile\"" >&5)
135 (eval "$lt_compile" 2>conftest.err)
136 ac_status=$?
137 cat conftest.err >&5
138- echo "$as_me:15755: \$? = $ac_status" >&5
139+ echo "$as_me:15757: \$? = $ac_status" >&5
140 if (exit $ac_status) && test -s "$ac_outfile"; then
141 # The compiler can only warn and ignore the option if not recognized
142 # So say no if there are warnings other than the usual output.
143@@ -16070,11 +16072,11 @@
144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
146 -e 's:$: $lt_compiler_flag:'`
147- (eval echo "\"\$as_me:16073: $lt_compile\"" >&5)
148+ (eval echo "\"\$as_me:16075: $lt_compile\"" >&5)
149 (eval "$lt_compile" 2>conftest.err)
150 ac_status=$?
151 cat conftest.err >&5
152- echo "$as_me:16077: \$? = $ac_status" >&5
153+ echo "$as_me:16079: \$? = $ac_status" >&5
154 if (exit $ac_status) && test -s "$ac_outfile"; then
155 # The compiler can only warn and ignore the option if not recognized
156 # So say no if there are warnings other than the usual output.
157@@ -16175,11 +16177,11 @@
158 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
159 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
160 -e 's:$: $lt_compiler_flag:'`
161- (eval echo "\"\$as_me:16178: $lt_compile\"" >&5)
162+ (eval echo "\"\$as_me:16180: $lt_compile\"" >&5)
163 (eval "$lt_compile" 2>out/conftest.err)
164 ac_status=$?
165 cat out/conftest.err >&5
166- echo "$as_me:16182: \$? = $ac_status" >&5
167+ echo "$as_me:16184: \$? = $ac_status" >&5
168 if (exit $ac_status) && test -s out/conftest2.$ac_objext
169 then
170 # The compiler can only warn and ignore the option if not recognized
171@@ -16230,11 +16232,11 @@
172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
174 -e 's:$: $lt_compiler_flag:'`
175- (eval echo "\"\$as_me:16233: $lt_compile\"" >&5)
176+ (eval echo "\"\$as_me:16235: $lt_compile\"" >&5)
177 (eval "$lt_compile" 2>out/conftest.err)
178 ac_status=$?
179 cat out/conftest.err >&5
180- echo "$as_me:16237: \$? = $ac_status" >&5
181+ echo "$as_me:16239: \$? = $ac_status" >&5
182 if (exit $ac_status) && test -s out/conftest2.$ac_objext
183 then
184 # The compiler can only warn and ignore the option if not recognized
185@@ -19027,7 +19029,7 @@
186 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
187 lt_status=$lt_dlunknown
188 cat > conftest.$ac_ext <<_LT_EOF
189-#line 19030 "configure"
190+#line 19032 "configure"
191 #include "confdefs.h"
192
193 #if HAVE_DLFCN_H
194@@ -19127,7 +19129,7 @@
195 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
196 lt_status=$lt_dlunknown
197 cat > conftest.$ac_ext <<_LT_EOF
198-#line 19130 "configure"
199+#line 19132 "configure"
200 #include "confdefs.h"
201
202 #if HAVE_DLFCN_H
203@@ -23938,6 +23940,7 @@
204 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
205 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
206 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
207+s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
208 s,@STMP_FIXINC@,$STMP_FIXINC,;t t
209 s,@STMP_FIXPROTO@,$STMP_FIXPROTO,;t t
210 s,@collect2@,$collect2,;t t
211Index: gcc-4.3.2/Makefile.tpl
212===================================================================
213--- gcc-4.3.2.orig/Makefile.tpl 2008-08-28 18:21:20.000000000 -0700
214+++ gcc-4.3.2/Makefile.tpl 2008-08-28 18:21:41.000000000 -0700
215@@ -275,6 +275,7 @@
216 AS_FOR_BUILD = @AS_FOR_BUILD@
217 CC_FOR_BUILD = @CC_FOR_BUILD@
218 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
219+CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
220 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
221 CXX_FOR_BUILD = @CXX_FOR_BUILD@
222 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
223Index: gcc-4.3.2/configure
224===================================================================
225--- gcc-4.3.2.orig/configure 2008-08-28 18:21:20.000000000 -0700
226+++ gcc-4.3.2/configure 2008-08-28 18:21:41.000000000 -0700
227@@ -272,7 +272,7 @@
228 PACKAGE_BUGREPORT=
229
230 ac_unique_file="move-if-change"
231-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
232+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CPPFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
233 ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
234
235 # Initialize some variables set by options.
236@@ -5914,6 +5914,7 @@
237 # our build compiler if desired.
238 if test x"${build}" = x"${host}" ; then
239 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
240+ CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
241 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
242 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
243 fi
244@@ -5991,6 +5992,7 @@
245
246
247
248+
249 # Generate default definitions for YACC, M4, LEX and other programs that run
250 # on the build machine. These are used if the Makefile can't locate these
251 # programs in objdir.
252@@ -12874,6 +12876,7 @@
253 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
254 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
255 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
256+s,@CPPFLAGS_FOR_BUILD@,$CPPFLAGS_FOR_BUILD,;t t
257 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
258 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
259 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
260Index: gcc-4.3.2/configure.ac
261===================================================================
262--- gcc-4.3.2.orig/configure.ac 2008-08-28 18:21:20.000000000 -0700
263+++ gcc-4.3.2/configure.ac 2008-08-28 18:21:41.000000000 -0700
264@@ -2425,6 +2425,7 @@
265 # our build compiler if desired.
266 if test x"${build}" = x"${host}" ; then
267 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
268+ CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
269 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
270 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
271 fi
272@@ -2489,6 +2490,7 @@
273 AC_SUBST(AS_FOR_BUILD)
274 AC_SUBST(CC_FOR_BUILD)
275 AC_SUBST(CFLAGS_FOR_BUILD)
276+AC_SUBST(CPPFLAGS_FOR_BUILD)
277 AC_SUBST(CXXFLAGS_FOR_BUILD)
278 AC_SUBST(CXX_FOR_BUILD)
279 AC_SUBST(DLLTOOL_FOR_BUILD)