rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / developer / gcc-11 / patches / 0037-gmp_asm_sparcv9_cpuflags.patch
blob2958d30e5818b38c3fa77811984cebd675196d32
1 --- gcc-releases-gcc-11.3.0/configure.~1~ 2021-07-28 08:55:28.000000000 +0000
2 +++ gcc-releases-gcc-11.3.0/configure 2022-02-03 15:40:05.993932195 +0000
3 @@ -743,6 +743,8 @@
4 target_alias
5 host_alias
6 build_alias
7 +gmp_alias
8 +CPU_FLAGS
9 LIBS
10 ECHO_T
11 ECHO_N
12 @@ -8955,7 +8957,24 @@
13 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
17 +# set gmp_alias/CPU_FLAGS to setup/tune CFLAGS usage in GMP on Solaris.
18 +case "${target}" in
19 + *-*-solaris2.11) myarch=`uname -p`
20 + if [ "$myarch" = "sparc" ]; then
21 + mycpu=`uname -m`
22 + if test "$mycpu" = "sun4u"; then
23 + gmp_alias=ultrasparc2-sun-solaris2.11
24 + CPU_FLAGS="-mcpu=ultrasparc -mvis -mfsmuld"
25 + else
26 + gmp_alias=ultrasparct1-sun-solaris2.11
27 + CPU_FLAGS="-mcpu=ultrasparc -mvis -mfsmuld"
28 + fi
29 + else
30 + gmp_alias=x86_64-pc-solaris2.11
31 + CPU_FLAGS="-mtune=generic"
32 + fi
33 + ;;
34 +esac
36 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
37 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
38 @@ -8970,11 +8989,11 @@
39 CFLAGS_FOR_TARGET=$CFLAGS
40 case " $CFLAGS " in
41 *" -O2 "*) ;;
42 - *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
43 + *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET $CPU_FLAGS" ;;
44 esac
45 case " $CFLAGS " in
46 *" -g "* | *" -g3 "*) ;;
47 - *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
48 + *) CFLAGS_FOR_TARGET="$CFLAGS_FOR_TARGET $CPU_FLAGS" ;;
49 esac
52 @@ -8987,11 +9006,11 @@
53 CXXFLAGS_FOR_TARGET=$CXXFLAGS
54 case " $CXXFLAGS " in
55 *" -O2 "*) ;;
56 - *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
57 + *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET $CPU_FLAGS" ;;
58 esac
59 case " $CXXFLAGS " in
60 *" -g "* | *" -g3 "*) ;;
61 - *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
62 + *) CXXFLAGS_FOR_TARGET="$CXXFLAGS_FOR_TARGET $CPU_FLAGS" ;;
63 esac
66 @@ -17837,7 +17856,7 @@
67 # ---------------------
69 # Stage specific cflags for build.
70 -stage1_cflags="-g"
71 +stage1_cflags="-m64"
72 case $build in
73 vax-*-*)
74 case ${GCC} in
75 --- gcc-releases-gcc-11.3.0/libcpp/configure.~1~ 2021-07-28 08:55:28.000000000 +0000
76 +++ gcc-releases-gcc-11.3.0/libcpp/configure 2022-02-03 15:40:06.002038278 +0000
77 @@ -3215,6 +3215,10 @@
78 _ACEOF
79 ac_clean_files_save=$ac_clean_files
80 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
81 +case $CXXFLAGS in
82 + *-m64*) : ;;
83 + *) CXXFLAGS="-m64 $CXXFLAGS" ;;
84 +esac
85 # Try to create an executable without -o first, disregard a.out.
86 # It will help us diagnose broken compilers, and finding out an intuition
87 # of exeext.
88 --- gcc-releases-gcc-11.3.0/libiberty/configure.~1~ 2021-07-28 08:55:28.000000000 +0000
89 +++ gcc-releases-gcc-11.3.0/libiberty/configure 2022-02-03 15:40:06.009617862 +0000
90 @@ -4310,6 +4310,11 @@
91 rm -f conftest.$ac_ext
94 +# hardcode to 64 compile flags
95 +case $CFLAGS in
96 + *-m64* ) : ;;
97 + *) CFLAGS="-m64 $CFLAGS" ;;
98 +esac
99 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
100 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
101 if test "$ac_cv_sys_largefile_CC" != no; then
102 --- gcc-releases-gcc-11.3.0/fixincludes/configure.~1~ 2021-07-28 08:55:28.000000000 +0000
103 +++ gcc-releases-gcc-11.3.0/fixincludes/configure 2022-02-03 15:40:06.018136028 +0000
104 @@ -3649,6 +3649,10 @@
105 # Try to create an executable without -o first, disregard a.out.
106 # It will help us diagnose broken compilers, and finding out an intuition
107 # of exeext.
108 +case $CFLAGS in
109 + *-m64*) : ;;
110 + *) CFLAGS="-m64 $CFLAGS" ;;
111 +esac
112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
113 $as_echo_n "checking whether the C compiler works... " >&6; }
114 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
115 --- gcc-releases-gcc-11.3.0/libgcc/configure.~1~ 2021-07-28 08:55:28.000000000 +0000
116 +++ gcc-releases-gcc-11.3.0/libgcc/configure 2022-02-03 15:40:06.051847362 +0000
117 @@ -4297,6 +4297,9 @@
118 break
119 done
121 +case $with_multisubdir in
122 + sparcv8plus|32) ac_cv_sys_file_offset_bits=32 ;;
123 +esac
124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
125 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
126 case $ac_cv_sys_file_offset_bits in #(
127 --- gcc-releases-gcc-10.3.0/gmp/gmp-h.in.orig 2020-11-14 19:45:09.000000000 +0100
128 +++ gcc-releases-gcc-10.3.0/gmp/gmp-h.in 2021-01-28 22:59:46.649060232 +0100
129 @@ -40,9 +40,13 @@
130 #if ! defined (__GMP_WITHIN_CONFIGURE)
131 #define __GMP_HAVE_HOST_CPU_FAMILY_power @HAVE_HOST_CPU_FAMILY_power@
132 #define __GMP_HAVE_HOST_CPU_FAMILY_powerpc @HAVE_HOST_CPU_FAMILY_powerpc@
133 -#define GMP_LIMB_BITS @GMP_LIMB_BITS@
134 #define GMP_NAIL_BITS @GMP_NAIL_BITS@
135 #endif
136 +#if defined(__amd64) || defined(__sparcv9)
137 +#define GMP_LIMB_BITS 64
138 +#else
139 +#define GMP_LIMB_BITS 32
140 +#endif
141 #define GMP_NUMB_BITS (GMP_LIMB_BITS - GMP_NAIL_BITS)
142 #define GMP_NUMB_MASK ((~ __GMP_CAST (mp_limb_t, 0)) >> GMP_NAIL_BITS)
143 #define GMP_NUMB_MAX GMP_NUMB_MASK
144 --- gcc-releases-gcc-11.3.0/gcc/configure.orig 2022-02-03 16:09:33.006582926 +0000
145 +++ gcc-releases-gcc-11.3.0/gcc/configure 2022-02-03 16:13:27.711658869 +0000
146 @@ -24029,27 +24029,48 @@
147 gcc_cv_ld_ro_rw_mix=read-write
149 elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; then
150 - echo '.section myfoosect, "a"' > conftest1.s
151 - echo '.section myfoosect, "aw"' > conftest2.s
152 - echo '.byte 1' >> conftest2.s
153 - echo '.section myfoosect, "a"' > conftest3.s
154 - echo '.byte 0' >> conftest3.s
155 - if $gcc_cv_as -o conftest1.o conftest1.s > /dev/null 2>&1 \
156 - && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
157 - && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
158 - && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
159 - conftest2.o conftest3.o > /dev/null 2>&1; then
160 - gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
161 - | sed -e '/myfoosect/!d' -e N`
162 - if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
163 - if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
164 - gcc_cv_ld_ro_rw_mix=read-only
165 - else
166 + # the following test fails on illumos amd64 and SPARC, using the native LD.
167 + # First reason gcc for SPARC is usually build using native assembler, but
168 + # these assembler files are written in GAS syntax.
169 + # If the test is run on illumos i386/amd64, the usual assembler is GAS,
170 + # but the link command below creates a corrupt shared library.
171 + # message from objdump:
172 + # objdump: warning: conftest1.so has a corrupt string table index - ignoring
173 + # However if you do all these steps on the command line using GAS on both
174 + # architectures you'll get a correct shared library, which can be successfully
175 + # used with objdump to look for the read/write section feature, but the outcome
176 + # is always read-only section mixing if using illumos-LD.
177 + # Only GNU LD supports read/write section mixing on illumos.
178 + case $target in
179 + *-*-solaris2.11)
180 + if test $acl_cv_prog_gnu_ld = "yes"; then
181 gcc_cv_ld_ro_rw_mix=read-write
182 + else
183 + gcc_cv_ld_ro_rw_mix=read-only
184 + fi ;;
185 + *)
186 + echo '.section myfoosect, "a"' > conftest1.s
187 + echo '.section myfoosect, "aw"' > conftest2.s
188 + echo '.byte 1' >> conftest2.s
189 + echo '.section myfoosect, "a"' > conftest3.s
190 + echo '.byte 0' >> conftest3.s
191 + if $gcc_cv_as -o conftest1.o conftest1.s > /dev/null 2>&1 \
192 + && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
193 + && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
194 + && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
195 + conftest2.o conftest3.o > /dev/null 2>&1; then
196 + gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
197 + | sed -e '/myfoosect/!d' -e N`
198 + if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
199 + if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
200 + gcc_cv_ld_ro_rw_mix=read-only
201 + else
202 + gcc_cv_ld_ro_rw_mix=read-write
203 + fi
204 + fi
206 - fi
207 - fi
208 - rm -f conftest.* conftest[123].*
209 + rm -f conftest.* conftest[123].* ;;
210 + esac
212 if test x$gcc_cv_ld_ro_rw_mix = xread-write; then
214 @@ -26539,7 +26560,7 @@
215 $as_echo_n "(cached) " >&6
216 else
217 gcc_cv_as_sparc_ua_pcrel=no
218 - if test x$gcc_cv_as != x; then
219 + if test x$gcc_cv_as != x -a $acl_cv_prog_gnu_ld = "yes"; then
220 $as_echo '.text
221 foo:
223 --- gcc-releases-gcc-11.3.0/Makefile.in.orig 2022-02-03 15:40:04.977800946 +0000
224 +++ gcc-releases-gcc-11.3.0/Makefile.in 2022-02-03 15:40:06.128526945 +0000
225 @@ -359,8 +359,8 @@
226 AR_FOR_BUILD = @AR_FOR_BUILD@
227 AS_FOR_BUILD = @AS_FOR_BUILD@
228 CC_FOR_BUILD = @CC_FOR_BUILD@
229 -CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
230 -CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
231 +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CPU_FLAGS@
232 +CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ @CPU_FLAGS@
233 CXX_FOR_BUILD = @CXX_FOR_BUILD@
234 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
235 DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
236 @@ -381,7 +381,7 @@
238 # Flags to pass to stage2 and later makes. They are defined
239 # here so that they can be overridden by Makefile fragments.
240 -BOOT_CFLAGS= -g -O2
241 +BOOT_CFLAGS= -O2 -m64 @CPU_FLAGS@
242 BOOT_LDFLAGS=
243 BOOT_ADAFLAGS= -gnatpg
245 @@ -430,10 +430,10 @@
246 GNATBIND = @GNATBIND@
247 GNATMAKE = @GNATMAKE@
249 -CFLAGS = @CFLAGS@
250 +CFLAGS = @CFLAGS@ @CPU_FLAGS@
251 LDFLAGS = @LDFLAGS@
252 LIBCFLAGS = $(CFLAGS)
253 -CXXFLAGS = @CXXFLAGS@
254 +CXXFLAGS = @CXXFLAGS@ @CPU_FLAGS@
255 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
256 GOCFLAGS = $(CFLAGS)
257 GDCFLAGS = $(CFLAGS)
258 @@ -2991,8 +2991,7 @@
259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
260 $(BUILD_EXPORTS) \
261 (cd $(BUILD_SUBDIR)/libiberty && \
262 - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
263 - $(TARGET-build-libiberty))
264 + $(MAKE) $(TARGET-build-libiberty))
265 @endif build-libiberty
268 @@ -3276,8 +3275,7 @@
269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
270 $(BUILD_EXPORTS) \
271 (cd $(BUILD_SUBDIR)/fixincludes && \
272 - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
273 - $(TARGET-build-fixincludes))
274 + $(MAKE) $(TARGET-build-fixincludes))
275 @endif build-fixincludes
278 @@ -3333,8 +3331,7 @@
279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
280 $(BUILD_EXPORTS) \
281 (cd $(BUILD_SUBDIR)/libcpp && \
282 - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
283 - $(TARGET-build-libcpp))
284 + $(MAKE) $(TARGET-build-libcpp))
285 @endif build-libcpp
288 @@ -12694,8 +12691,9 @@
289 $(SHELL) \
290 $$s/$$module_srcdir/configure \
291 --srcdir=$${topdir}/$$module_srcdir \
292 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
293 - --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
294 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
295 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
296 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c" \
297 || exit 1
298 @endif gmp
300 @@ -12713,9 +12711,9 @@
301 TFLAGS="$(STAGE1_TFLAGS)"; \
302 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
303 $(HOST_EXPORTS) \
304 - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
305 - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
306 - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
307 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
308 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
309 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
310 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
312 cd $(HOST_SUBDIR)/gmp || exit 1; \
313 @@ -12727,11 +12725,9 @@
314 module_srcdir=gmp; \
315 $(SHELL) $$s/$$module_srcdir/configure \
316 --srcdir=$${topdir}/$$module_srcdir \
317 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
318 - --target=none-${host_vendor}-${host_os} \
320 - $(STAGE1_CONFIGURE_FLAGS) \
321 - --disable-shared LEX="touch lex.yy.c"
322 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
323 + $(STAGE1_CONFIGURE_FLAGS) --disable-shared ABI=64 \
324 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
325 @endif gmp-bootstrap
327 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
328 @@ -12747,9 +12743,9 @@
329 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
330 $(HOST_EXPORTS) \
331 $(POSTSTAGE1_HOST_EXPORTS) \
332 - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
333 - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
334 - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
335 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
336 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
337 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
338 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
340 cd $(HOST_SUBDIR)/gmp || exit 1; \
341 @@ -12761,11 +12757,10 @@
342 module_srcdir=gmp; \
343 $(SHELL) $$s/$$module_srcdir/configure \
344 --srcdir=$${topdir}/$$module_srcdir \
345 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
346 - --target=none-${host_vendor}-${host_os} \
347 - --with-build-libsubdir=$(HOST_SUBDIR) \
348 - $(STAGE2_CONFIGURE_FLAGS) \
349 - --disable-shared LEX="touch lex.yy.c"
350 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
351 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGE2_CONFIGURE_FLAGS) \
352 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
353 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
354 @endif gmp-bootstrap
356 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
357 @@ -12781,9 +12776,9 @@
358 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
359 $(HOST_EXPORTS) \
360 $(POSTSTAGE1_HOST_EXPORTS) \
361 - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
362 - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
363 - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
364 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
365 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
366 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
367 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
369 cd $(HOST_SUBDIR)/gmp || exit 1; \
370 @@ -12795,11 +12790,10 @@
371 module_srcdir=gmp; \
372 $(SHELL) $$s/$$module_srcdir/configure \
373 --srcdir=$${topdir}/$$module_srcdir \
374 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
375 - --target=none-${host_vendor}-${host_os} \
376 - --with-build-libsubdir=$(HOST_SUBDIR) \
377 - $(STAGE3_CONFIGURE_FLAGS) \
378 - --disable-shared LEX="touch lex.yy.c"
379 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
380 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGE3_CONFIGURE_FLAGS) \
381 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
382 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
383 @endif gmp-bootstrap
385 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
386 @@ -12815,9 +12809,9 @@
387 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
388 $(HOST_EXPORTS) \
389 $(POSTSTAGE1_HOST_EXPORTS) \
390 - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
391 - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
392 - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
393 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
394 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
395 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
396 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
398 cd $(HOST_SUBDIR)/gmp || exit 1; \
399 @@ -12829,11 +12823,10 @@
400 module_srcdir=gmp; \
401 $(SHELL) $$s/$$module_srcdir/configure \
402 --srcdir=$${topdir}/$$module_srcdir \
403 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
404 - --target=none-${host_vendor}-${host_os} \
405 - --with-build-libsubdir=$(HOST_SUBDIR) \
406 - $(STAGE4_CONFIGURE_FLAGS) \
407 - --disable-shared LEX="touch lex.yy.c"
408 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
409 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGE4_CONFIGURE_FLAGS) \
410 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
411 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
412 @endif gmp-bootstrap
414 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
415 @@ -12849,9 +12842,9 @@
416 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
417 $(HOST_EXPORTS) \
418 $(POSTSTAGE1_HOST_EXPORTS) \
419 - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
420 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
421 - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
422 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
423 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
424 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
425 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
427 cd $(HOST_SUBDIR)/gmp || exit 1; \
428 @@ -12863,11 +12856,10 @@
429 module_srcdir=gmp; \
430 $(SHELL) $$s/$$module_srcdir/configure \
431 --srcdir=$${topdir}/$$module_srcdir \
432 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
433 - --target=none-${host_vendor}-${host_os} \
434 - --with-build-libsubdir=$(HOST_SUBDIR) \
435 - $(STAGEprofile_CONFIGURE_FLAGS) \
436 - --disable-shared LEX="touch lex.yy.c"
437 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
438 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGEprofile_CONFIGURE_FLAGS) \
439 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
440 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
441 @endif gmp-bootstrap
443 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
444 @@ -12883,9 +12875,9 @@
445 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
446 $(HOST_EXPORTS) \
447 $(POSTSTAGE1_HOST_EXPORTS) \
448 - CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
449 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
450 - LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
451 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
452 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
453 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
454 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
456 cd $(HOST_SUBDIR)/gmp || exit 1; \
457 @@ -12897,11 +12889,10 @@
458 module_srcdir=gmp; \
459 $(SHELL) $$s/$$module_srcdir/configure \
460 --srcdir=$${topdir}/$$module_srcdir \
461 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
462 - --target=none-${host_vendor}-${host_os} \
463 - --with-build-libsubdir=$(HOST_SUBDIR) \
464 - $(STAGEtrain_CONFIGURE_FLAGS) \
465 - --disable-shared LEX="touch lex.yy.c"
466 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
467 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGEtrain_CONFIGURE_FLAGS) \
468 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
469 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
470 @endif gmp-bootstrap
472 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
473 @@ -12917,9 +12908,9 @@
474 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
475 $(HOST_EXPORTS) \
476 $(POSTSTAGE1_HOST_EXPORTS) \
477 - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
478 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
479 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
480 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
481 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
482 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
483 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
485 cd $(HOST_SUBDIR)/gmp || exit 1; \
486 @@ -12931,11 +12922,10 @@
487 module_srcdir=gmp; \
488 $(SHELL) $$s/$$module_srcdir/configure \
489 --srcdir=$${topdir}/$$module_srcdir \
490 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
491 - --target=none-${host_vendor}-${host_os} \
492 - --with-build-libsubdir=$(HOST_SUBDIR) \
493 - $(STAGEfeedback_CONFIGURE_FLAGS) \
494 - --disable-shared LEX="touch lex.yy.c"
495 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
496 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGEfeedback_CONFIGURE_FLAGS) \
497 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
498 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
499 @endif gmp-bootstrap
501 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
502 @@ -12951,9 +12941,9 @@
503 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
504 $(HOST_EXPORTS) \
505 $(POSTSTAGE1_HOST_EXPORTS) \
506 - CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
507 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
508 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
509 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
510 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
511 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
512 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
514 cd $(HOST_SUBDIR)/gmp || exit 1; \
515 @@ -12965,11 +12955,10 @@
516 module_srcdir=gmp; \
517 $(SHELL) $$s/$$module_srcdir/configure \
518 --srcdir=$${topdir}/$$module_srcdir \
519 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
520 - --target=none-${host_vendor}-${host_os} \
521 - --with-build-libsubdir=$(HOST_SUBDIR) \
522 - $(STAGEautoprofile_CONFIGURE_FLAGS) \
523 - --disable-shared LEX="touch lex.yy.c"
524 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
525 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGEautoprofile_CONFIGURE_FLAGS) \
526 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
527 + NM="/usr/bin/nm -p" LEX="touch lex.yy.c"
528 @endif gmp-bootstrap
530 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
531 @@ -12985,9 +12974,9 @@
532 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
533 $(HOST_EXPORTS) \
534 $(POSTSTAGE1_HOST_EXPORTS) \
535 - CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
536 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
537 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
538 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
539 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CXXFLAGS; \
540 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export LIBCFLAGS; \
541 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
543 cd $(HOST_SUBDIR)/gmp || exit 1; \
544 @@ -12999,11 +12988,9 @@
545 module_srcdir=gmp; \
546 $(SHELL) $$s/$$module_srcdir/configure \
547 --srcdir=$${topdir}/$$module_srcdir \
548 - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
549 - --target=none-${host_vendor}-${host_os} \
550 - --with-build-libsubdir=$(HOST_SUBDIR) \
551 - $(STAGEautofeedback_CONFIGURE_FLAGS) \
552 - --disable-shared LEX="touch lex.yy.c"
553 + $(HOST_CONFIGARGS) --build=@gmp_alias@ --host=@gmp_alias@ --target=@gmp_alias@ \
554 + --with-build-libsubdir=$(HOST_SUBDIR) $(STAGEautofeedback_CONFIGURE_FLAGS) \
555 + --disable-shared ABI=64 CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" LEX="touch lex.yy.c"
556 @endif gmp-bootstrap
559 @@ -13023,7 +13010,7 @@
560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
561 $(HOST_EXPORTS) \
562 (cd $(HOST_SUBDIR)/gmp && \
563 - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
564 + $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
565 $(TARGET-gmp))
566 @endif gmp
568 @@ -13046,15 +13033,15 @@
569 cd $(HOST_SUBDIR)/gmp && \
571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
572 - CFLAGS="$(STAGE1_CFLAGS)" \
573 - GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
574 - CXXFLAGS="$(STAGE1_CXXFLAGS)" \
575 - LIBCFLAGS="$(LIBCFLAGS)" \
576 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
577 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
578 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
579 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
580 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
581 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
582 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
583 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
584 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
585 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
586 $(EXTRA_HOST_FLAGS) \
587 - $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
588 + $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
589 TFLAGS="$(STAGE1_TFLAGS)" \
590 $(TARGET-stage1-gmp)
592 @@ -13069,7 +13056,7 @@
593 fi; \
594 cd $(HOST_SUBDIR)/gmp && \
595 $(MAKE) $(EXTRA_HOST_FLAGS) \
596 - $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
597 + $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
598 @endif gmp-bootstrap
601 @@ -13091,14 +13078,14 @@
602 cd $(HOST_SUBDIR)/gmp && \
604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
605 - CFLAGS="$(STAGE2_CFLAGS)" \
606 - GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
607 - CXXFLAGS="$(STAGE2_CXXFLAGS)" \
608 - LIBCFLAGS="$(STAGE2_CFLAGS)" \
609 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
610 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
611 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
612 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
613 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
614 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
615 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
616 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
617 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
618 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
619 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
620 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
621 TFLAGS="$(STAGE2_TFLAGS)" \
622 $(TARGET-stage2-gmp)
624 @@ -13112,7 +13099,7 @@
625 $(MAKE) stage2-start; \
626 fi; \
627 cd $(HOST_SUBDIR)/gmp && \
628 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
629 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
630 @endif gmp-bootstrap
633 @@ -13134,14 +13121,14 @@
634 cd $(HOST_SUBDIR)/gmp && \
636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
637 - CFLAGS="$(STAGE3_CFLAGS)" \
638 - GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
639 - CXXFLAGS="$(STAGE3_CXXFLAGS)" \
640 - LIBCFLAGS="$(STAGE3_CFLAGS)" \
641 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
642 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
643 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
644 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
645 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
646 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
647 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
648 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
649 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
650 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
651 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
652 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
653 TFLAGS="$(STAGE3_TFLAGS)" \
654 $(TARGET-stage3-gmp)
656 @@ -13155,7 +13142,7 @@
657 $(MAKE) stage3-start; \
658 fi; \
659 cd $(HOST_SUBDIR)/gmp && \
660 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
661 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
662 @endif gmp-bootstrap
665 @@ -13177,14 +13164,14 @@
666 cd $(HOST_SUBDIR)/gmp && \
668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
669 - CFLAGS="$(STAGE4_CFLAGS)" \
670 - GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
671 - CXXFLAGS="$(STAGE4_CXXFLAGS)" \
672 - LIBCFLAGS="$(STAGE4_CFLAGS)" \
673 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
674 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
675 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
676 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
677 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
678 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
679 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
680 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
681 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
682 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
683 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
684 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
685 TFLAGS="$(STAGE4_TFLAGS)" \
686 $(TARGET-stage4-gmp)
688 @@ -13198,7 +13185,7 @@
689 $(MAKE) stage4-start; \
690 fi; \
691 cd $(HOST_SUBDIR)/gmp && \
692 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
693 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
694 @endif gmp-bootstrap
697 @@ -13220,14 +13207,14 @@
698 cd $(HOST_SUBDIR)/gmp && \
700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
701 - CFLAGS="$(STAGEprofile_CFLAGS)" \
702 - GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
703 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
704 - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
705 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
706 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
707 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
708 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
709 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
710 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
711 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
712 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
713 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
714 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
715 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
716 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
717 TFLAGS="$(STAGEprofile_TFLAGS)" \
718 $(TARGET-stageprofile-gmp)
720 @@ -13241,7 +13228,7 @@
721 $(MAKE) stageprofile-start; \
722 fi; \
723 cd $(HOST_SUBDIR)/gmp && \
724 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
725 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
726 @endif gmp-bootstrap
729 @@ -13263,14 +13250,14 @@
730 cd $(HOST_SUBDIR)/gmp && \
732 $(MAKE) $(BASE_FLAGS_TO_PASS) \
733 - CFLAGS="$(STAGEtrain_CFLAGS)" \
734 - GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
735 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
736 - LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
737 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
738 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
739 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
740 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
741 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
742 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
743 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
744 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
745 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
746 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
747 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
748 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
749 TFLAGS="$(STAGEtrain_TFLAGS)" \
750 $(TARGET-stagetrain-gmp)
752 @@ -13284,7 +13271,7 @@
753 $(MAKE) stagetrain-start; \
754 fi; \
755 cd $(HOST_SUBDIR)/gmp && \
756 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
757 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
758 @endif gmp-bootstrap
761 @@ -13306,14 +13293,14 @@
762 cd $(HOST_SUBDIR)/gmp && \
764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
765 - CFLAGS="$(STAGEfeedback_CFLAGS)" \
766 - GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
767 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
768 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
769 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
770 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
771 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
772 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
773 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
774 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
775 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
776 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
777 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
778 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
779 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
780 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
781 TFLAGS="$(STAGEfeedback_TFLAGS)" \
782 $(TARGET-stagefeedback-gmp)
784 @@ -13327,7 +13314,7 @@
785 $(MAKE) stagefeedback-start; \
786 fi; \
787 cd $(HOST_SUBDIR)/gmp && \
788 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
789 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
790 @endif gmp-bootstrap
793 @@ -13349,14 +13336,14 @@
794 cd $(HOST_SUBDIR)/gmp && \
795 $$s/gcc/config/i386/$(AUTO_PROFILE) \
796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
797 - CFLAGS="$(STAGEautoprofile_CFLAGS)" \
798 - GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
799 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
800 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
801 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
802 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
803 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
804 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
805 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
806 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
807 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
808 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
809 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
810 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
811 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
812 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
813 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
814 $(TARGET-stageautoprofile-gmp)
816 @@ -13370,7 +13357,7 @@
817 $(MAKE) stageautoprofile-start; \
818 fi; \
819 cd $(HOST_SUBDIR)/gmp && \
820 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
821 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
822 @endif gmp-bootstrap
825 @@ -13392,14 +13379,14 @@
826 cd $(HOST_SUBDIR)/gmp && \
828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
829 - CFLAGS="$(STAGEautofeedback_CFLAGS)" \
830 - GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
831 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
832 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
833 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
834 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
835 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
836 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
837 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
838 + GENERATOR_CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
839 + CXXFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
840 + LIBCFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@" \
841 + CFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
842 + CXXFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
843 + LIBCFLAGS_FOR_TARGET="-O3 -m64 -pedantic @CPU_FLAGS@" \
844 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
845 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
846 $(TARGET-stageautofeedback-gmp)
848 @@ -13413,7 +13400,7 @@
849 $(MAKE) stageautofeedback-start; \
850 fi; \
851 cd $(HOST_SUBDIR)/gmp && \
852 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
853 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
854 @endif gmp-bootstrap
857 @@ -13431,7 +13418,7 @@
858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
859 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
860 (cd $(HOST_SUBDIR)/gmp && \
861 - $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
862 + $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="" $(EXTRA_BOOTSTRAP_FLAGS) check)
864 @endif gmp
866 @@ -13466,7 +13453,7 @@
867 r=`${PWD_COMMAND}`; export r; \
868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
869 $(HOST_EXPORTS) \
870 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
871 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
873 done; \
874 echo "Doing info in gmp"; \
875 @@ -13491,7 +13478,7 @@
876 r=`${PWD_COMMAND}`; export r; \
877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
878 $(HOST_EXPORTS) \
879 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
880 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
882 done; \
883 echo "Doing dvi in gmp"; \
884 @@ -13516,7 +13503,7 @@
885 r=`${PWD_COMMAND}`; export r; \
886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
887 $(HOST_EXPORTS) \
888 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
889 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
891 done; \
892 echo "Doing pdf in gmp"; \
893 @@ -13541,7 +13528,7 @@
894 r=`${PWD_COMMAND}`; export r; \
895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
896 $(HOST_EXPORTS) \
897 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
898 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
900 done; \
901 echo "Doing html in gmp"; \
902 @@ -13566,7 +13553,7 @@
903 r=`${PWD_COMMAND}`; export r; \
904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
905 $(HOST_EXPORTS) \
906 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
907 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
909 done; \
910 echo "Doing TAGS in gmp"; \
911 @@ -13592,7 +13579,7 @@
912 r=`${PWD_COMMAND}`; export r; \
913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
914 $(HOST_EXPORTS) \
915 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
916 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
918 done; \
919 echo "Doing install-info in gmp"; \
920 @@ -13618,7 +13605,7 @@
921 r=`${PWD_COMMAND}`; export r; \
922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
923 $(HOST_EXPORTS) \
924 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
925 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
927 done; \
928 echo "Doing install-pdf in gmp"; \
929 @@ -13644,7 +13631,7 @@
930 r=`${PWD_COMMAND}`; export r; \
931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
932 $(HOST_EXPORTS) \
933 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
934 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
936 done; \
937 echo "Doing install-html in gmp"; \
938 @@ -13669,7 +13656,7 @@
939 r=`${PWD_COMMAND}`; export r; \
940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
941 $(HOST_EXPORTS) \
942 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
943 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
945 done; \
946 echo "Doing installcheck in gmp"; \
947 @@ -13693,7 +13680,7 @@
948 r=`${PWD_COMMAND}`; export r; \
949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
950 $(HOST_EXPORTS) \
951 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
952 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
954 done; \
955 echo "Doing mostlyclean in gmp"; \
956 @@ -13717,7 +13704,7 @@
957 r=`${PWD_COMMAND}`; export r; \
958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
959 $(HOST_EXPORTS) \
960 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
961 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
963 done; \
964 echo "Doing clean in gmp"; \
965 @@ -13741,7 +13728,7 @@
966 r=`${PWD_COMMAND}`; export r; \
967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
968 $(HOST_EXPORTS) \
969 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
970 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
972 done; \
973 echo "Doing distclean in gmp"; \
974 @@ -13765,7 +13752,7 @@
975 r=`${PWD_COMMAND}`; export r; \
976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
977 $(HOST_EXPORTS) \
978 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
979 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
981 done; \
982 echo "Doing maintainer-clean in gmp"; \
983 @@ -13794,6 +13781,7 @@
984 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
986 $(HOST_EXPORTS) \
987 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
988 echo Configuring in $(HOST_SUBDIR)/mpfr; \
989 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
990 case $(srcdir) in \
991 @@ -13824,9 +13812,9 @@
992 TFLAGS="$(STAGE1_TFLAGS)"; \
993 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
994 $(HOST_EXPORTS) \
995 - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
996 - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
997 - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
998 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
999 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1000 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1001 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
1002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1003 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1004 @@ -13837,12 +13825,13 @@
1005 esac; \
1006 module_srcdir=mpfr; \
1007 $(SHELL) $$s/$$module_srcdir/configure \
1008 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1009 --srcdir=$${topdir}/$$module_srcdir \
1010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1011 --target=${target_alias} \
1013 $(STAGE1_CONFIGURE_FLAGS) \
1014 - --disable-shared @extra_mpfr_configure_flags@
1015 + --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@
1016 @endif mpfr-bootstrap
1018 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
1019 @@ -13858,9 +13847,9 @@
1020 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1021 $(HOST_EXPORTS) \
1022 $(POSTSTAGE1_HOST_EXPORTS) \
1023 - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
1024 - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
1025 - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
1026 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1027 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1028 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1029 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
1030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1031 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1032 @@ -13871,6 +13860,7 @@
1033 esac; \
1034 module_srcdir=mpfr; \
1035 $(SHELL) $$s/$$module_srcdir/configure \
1036 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1037 --srcdir=$${topdir}/$$module_srcdir \
1038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1039 --target=${target_alias} \
1040 @@ -13892,9 +13882,9 @@
1041 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1042 $(HOST_EXPORTS) \
1043 $(POSTSTAGE1_HOST_EXPORTS) \
1044 - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
1045 - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
1046 - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
1047 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1048 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1049 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1050 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
1051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1052 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1053 @@ -13905,6 +13895,7 @@
1054 esac; \
1055 module_srcdir=mpfr; \
1056 $(SHELL) $$s/$$module_srcdir/configure \
1057 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1058 --srcdir=$${topdir}/$$module_srcdir \
1059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1060 --target=${target_alias} \
1061 @@ -13926,9 +13917,9 @@
1062 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1063 $(HOST_EXPORTS) \
1064 $(POSTSTAGE1_HOST_EXPORTS) \
1065 - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
1066 - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
1067 - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
1068 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1069 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1070 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1071 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
1072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1073 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1074 @@ -13939,6 +13930,7 @@
1075 esac; \
1076 module_srcdir=mpfr; \
1077 $(SHELL) $$s/$$module_srcdir/configure \
1078 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1079 --srcdir=$${topdir}/$$module_srcdir \
1080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1081 --target=${target_alias} \
1082 @@ -13960,9 +13952,9 @@
1083 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1084 $(HOST_EXPORTS) \
1085 $(POSTSTAGE1_HOST_EXPORTS) \
1086 - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
1087 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
1088 - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
1089 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1090 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1091 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1092 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
1093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1094 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1095 @@ -13973,6 +13965,7 @@
1096 esac; \
1097 module_srcdir=mpfr; \
1098 $(SHELL) $$s/$$module_srcdir/configure \
1099 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1100 --srcdir=$${topdir}/$$module_srcdir \
1101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1102 --target=${target_alias} \
1103 @@ -13994,9 +13987,9 @@
1104 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1105 $(HOST_EXPORTS) \
1106 $(POSTSTAGE1_HOST_EXPORTS) \
1107 - CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
1108 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
1109 - LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
1110 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1111 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1112 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1113 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
1114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1115 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1116 @@ -14007,6 +14000,7 @@
1117 esac; \
1118 module_srcdir=mpfr; \
1119 $(SHELL) $$s/$$module_srcdir/configure \
1120 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1121 --srcdir=$${topdir}/$$module_srcdir \
1122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1123 --target=${target_alias} \
1124 @@ -14028,9 +14022,9 @@
1125 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1126 $(HOST_EXPORTS) \
1127 $(POSTSTAGE1_HOST_EXPORTS) \
1128 - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
1129 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
1130 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
1131 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1132 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1133 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1134 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
1135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1136 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1137 @@ -14041,6 +14035,7 @@
1138 esac; \
1139 module_srcdir=mpfr; \
1140 $(SHELL) $$s/$$module_srcdir/configure \
1141 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1142 --srcdir=$${topdir}/$$module_srcdir \
1143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1144 --target=${target_alias} \
1145 @@ -14062,9 +14057,9 @@
1146 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1147 $(HOST_EXPORTS) \
1148 $(POSTSTAGE1_HOST_EXPORTS) \
1149 - CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
1150 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
1151 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
1152 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1153 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1154 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1155 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
1156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1157 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1158 @@ -14075,6 +14070,7 @@
1159 esac; \
1160 module_srcdir=mpfr; \
1161 $(SHELL) $$s/$$module_srcdir/configure \
1162 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1163 --srcdir=$${topdir}/$$module_srcdir \
1164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1165 --target=${target_alias} \
1166 @@ -14096,9 +14092,9 @@
1167 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
1168 $(HOST_EXPORTS) \
1169 $(POSTSTAGE1_HOST_EXPORTS) \
1170 - CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
1171 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
1172 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
1173 + CFLAGS="-O2 -m64 @CPU_FLAGS@"; export CFLAGS; \
1174 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1175 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1176 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
1177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
1178 cd $(HOST_SUBDIR)/mpfr || exit 1; \
1179 @@ -14109,6 +14105,7 @@
1180 esac; \
1181 module_srcdir=mpfr; \
1182 $(SHELL) $$s/$$module_srcdir/configure \
1183 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1184 --srcdir=$${topdir}/$$module_srcdir \
1185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1186 --target=${target_alias} \
1187 @@ -14134,7 +14131,7 @@
1188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1189 $(HOST_EXPORTS) \
1190 (cd $(HOST_SUBDIR)/mpfr && \
1191 - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1192 + $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1193 $(TARGET-mpfr))
1194 @endif mpfr
1196 @@ -14157,15 +14154,15 @@
1197 cd $(HOST_SUBDIR)/mpfr && \
1199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1200 - CFLAGS="$(STAGE1_CFLAGS)" \
1201 - GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
1202 - CXXFLAGS="$(STAGE1_CXXFLAGS)" \
1203 - LIBCFLAGS="$(LIBCFLAGS)" \
1204 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1205 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1206 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1207 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1208 + GENERATOR_CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1209 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1210 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1211 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1212 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1213 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1214 $(EXTRA_HOST_FLAGS) \
1215 - $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1216 + $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1217 TFLAGS="$(STAGE1_TFLAGS)" \
1218 $(TARGET-stage1-mpfr)
1220 @@ -14180,7 +14177,7 @@
1221 fi; \
1222 cd $(HOST_SUBDIR)/mpfr && \
1223 $(MAKE) $(EXTRA_HOST_FLAGS) \
1224 - $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1225 + $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1226 @endif mpfr-bootstrap
1229 @@ -14202,14 +14199,14 @@
1230 cd $(HOST_SUBDIR)/mpfr && \
1232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1233 - CFLAGS="$(STAGE2_CFLAGS)" \
1234 - GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
1235 - CXXFLAGS="$(STAGE2_CXXFLAGS)" \
1236 - LIBCFLAGS="$(STAGE2_CFLAGS)" \
1237 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1238 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1239 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1240 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1241 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1242 + GENERATOR_CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1243 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1244 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1245 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1246 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1247 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1248 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1249 TFLAGS="$(STAGE2_TFLAGS)" \
1250 $(TARGET-stage2-mpfr)
1252 @@ -14223,7 +14220,7 @@
1253 $(MAKE) stage2-start; \
1254 fi; \
1255 cd $(HOST_SUBDIR)/mpfr && \
1256 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1257 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1258 @endif mpfr-bootstrap
1261 @@ -14245,14 +14242,14 @@
1262 cd $(HOST_SUBDIR)/mpfr && \
1264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1265 - CFLAGS="$(STAGE3_CFLAGS)" \
1266 - GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
1267 - CXXFLAGS="$(STAGE3_CXXFLAGS)" \
1268 - LIBCFLAGS="$(STAGE3_CFLAGS)" \
1269 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1270 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1271 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1272 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1273 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1274 + GENERATOR_CFLAGS="" \
1275 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1276 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1277 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1278 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1279 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1280 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1281 TFLAGS="$(STAGE3_TFLAGS)" \
1282 $(TARGET-stage3-mpfr)
1284 @@ -14266,7 +14263,7 @@
1285 $(MAKE) stage3-start; \
1286 fi; \
1287 cd $(HOST_SUBDIR)/mpfr && \
1288 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1289 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1290 @endif mpfr-bootstrap
1293 @@ -14288,14 +14285,14 @@
1294 cd $(HOST_SUBDIR)/mpfr && \
1296 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1297 - CFLAGS="$(STAGE4_CFLAGS)" \
1298 - GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
1299 - CXXFLAGS="$(STAGE4_CXXFLAGS)" \
1300 - LIBCFLAGS="$(STAGE4_CFLAGS)" \
1301 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1302 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1303 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1304 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1305 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1306 + GENERATOR_CFLAGS="" \
1307 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1308 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1309 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1310 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1311 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1312 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1313 TFLAGS="$(STAGE4_TFLAGS)" \
1314 $(TARGET-stage4-mpfr)
1316 @@ -14309,7 +14306,7 @@
1317 $(MAKE) stage4-start; \
1318 fi; \
1319 cd $(HOST_SUBDIR)/mpfr && \
1320 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1321 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1322 @endif mpfr-bootstrap
1325 @@ -14331,14 +14328,14 @@
1326 cd $(HOST_SUBDIR)/mpfr && \
1328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1329 - CFLAGS="$(STAGEprofile_CFLAGS)" \
1330 - GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
1331 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
1332 - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
1333 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1334 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1335 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1336 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1337 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1338 + GENERATOR_CFLAGS="" \
1339 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1340 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1341 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1342 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1343 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1344 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1345 TFLAGS="$(STAGEprofile_TFLAGS)" \
1346 $(TARGET-stageprofile-mpfr)
1348 @@ -14352,7 +14349,7 @@
1349 $(MAKE) stageprofile-start; \
1350 fi; \
1351 cd $(HOST_SUBDIR)/mpfr && \
1352 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1353 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1354 @endif mpfr-bootstrap
1357 @@ -14374,14 +14371,14 @@
1358 cd $(HOST_SUBDIR)/mpfr && \
1360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1361 - CFLAGS="$(STAGEtrain_CFLAGS)" \
1362 - GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
1363 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
1364 - LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
1365 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1366 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1367 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1368 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1369 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1370 + GENERATOR_CFLAGS="" \
1371 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1372 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1373 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1374 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1375 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1376 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1377 TFLAGS="$(STAGEtrain_TFLAGS)" \
1378 $(TARGET-stagetrain-mpfr)
1380 @@ -14395,7 +14392,7 @@
1381 $(MAKE) stagetrain-start; \
1382 fi; \
1383 cd $(HOST_SUBDIR)/mpfr && \
1384 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1385 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1386 @endif mpfr-bootstrap
1389 @@ -14417,14 +14414,14 @@
1390 cd $(HOST_SUBDIR)/mpfr && \
1392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1393 - CFLAGS="$(STAGEfeedback_CFLAGS)" \
1394 - GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
1395 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
1396 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
1397 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1398 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1399 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1400 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1401 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1402 + GENERATOR_CFLAGS="" \
1403 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1404 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1405 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1406 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1407 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1408 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1409 TFLAGS="$(STAGEfeedback_TFLAGS)" \
1410 $(TARGET-stagefeedback-mpfr)
1412 @@ -14438,7 +14435,7 @@
1413 $(MAKE) stagefeedback-start; \
1414 fi; \
1415 cd $(HOST_SUBDIR)/mpfr && \
1416 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1417 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1418 @endif mpfr-bootstrap
1421 @@ -14460,14 +14457,14 @@
1422 cd $(HOST_SUBDIR)/mpfr && \
1423 $$s/gcc/config/i386/$(AUTO_PROFILE) \
1424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1425 - CFLAGS="$(STAGEautoprofile_CFLAGS)" \
1426 - GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
1427 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
1428 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
1429 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1430 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1431 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1432 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1433 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1434 + GENERATOR_CFLAGS="" \
1435 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1436 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1437 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1438 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1439 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1440 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1441 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
1442 $(TARGET-stageautoprofile-mpfr)
1444 @@ -14481,7 +14478,7 @@
1445 $(MAKE) stageautoprofile-start; \
1446 fi; \
1447 cd $(HOST_SUBDIR)/mpfr && \
1448 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1449 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1450 @endif mpfr-bootstrap
1453 @@ -14503,14 +14500,14 @@
1454 cd $(HOST_SUBDIR)/mpfr && \
1456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1457 - CFLAGS="$(STAGEautofeedback_CFLAGS)" \
1458 - GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
1459 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
1460 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
1461 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1462 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1463 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1464 - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
1465 + CFLAGS="-O2 -m64 @CPU_FLAGS@" \
1466 + GENERATOR_CFLAGS="" \
1467 + CXXFLAGS="-O2 -m64 @CPU_FLAGS@" \
1468 + LIBCFLAGS="-O2 -m64 @CPU_FLAGS@" \
1469 + CFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1470 + CXXFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1471 + LIBCFLAGS_FOR_TARGET="-O2 -m64 @CPU_FLAGS@" \
1472 + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" \
1473 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
1474 $(TARGET-stageautofeedback-mpfr)
1476 @@ -14524,7 +14521,7 @@
1477 $(MAKE) stageautofeedback-start; \
1478 fi; \
1479 cd $(HOST_SUBDIR)/mpfr && \
1480 - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
1481 + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="" clean
1482 @endif mpfr-bootstrap
1485 @@ -14542,7 +14539,7 @@
1486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1487 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
1488 (cd $(HOST_SUBDIR)/mpfr && \
1489 - $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
1490 + $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="" $(EXTRA_BOOTSTRAP_FLAGS) check)
1492 @endif mpfr
1494 @@ -14577,7 +14574,7 @@
1495 r=`${PWD_COMMAND}`; export r; \
1496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1497 $(HOST_EXPORTS) \
1498 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1499 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1501 done; \
1502 echo "Doing info in mpfr"; \
1503 @@ -14602,7 +14599,7 @@
1504 r=`${PWD_COMMAND}`; export r; \
1505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1506 $(HOST_EXPORTS) \
1507 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1508 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1510 done; \
1511 echo "Doing dvi in mpfr"; \
1512 @@ -14627,7 +14624,7 @@
1513 r=`${PWD_COMMAND}`; export r; \
1514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1515 $(HOST_EXPORTS) \
1516 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1517 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1519 done; \
1520 echo "Doing pdf in mpfr"; \
1521 @@ -14652,7 +14649,7 @@
1522 r=`${PWD_COMMAND}`; export r; \
1523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1524 $(HOST_EXPORTS) \
1525 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1526 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1528 done; \
1529 echo "Doing html in mpfr"; \
1530 @@ -14677,7 +14674,7 @@
1531 r=`${PWD_COMMAND}`; export r; \
1532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1533 $(HOST_EXPORTS) \
1534 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1535 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1537 done; \
1538 echo "Doing TAGS in mpfr"; \
1539 @@ -14703,7 +14700,7 @@
1540 r=`${PWD_COMMAND}`; export r; \
1541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1542 $(HOST_EXPORTS) \
1543 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1544 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1546 done; \
1547 echo "Doing install-info in mpfr"; \
1548 @@ -14729,7 +14726,7 @@
1549 r=`${PWD_COMMAND}`; export r; \
1550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1551 $(HOST_EXPORTS) \
1552 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1553 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1555 done; \
1556 echo "Doing install-pdf in mpfr"; \
1557 @@ -14755,7 +14752,7 @@
1558 r=`${PWD_COMMAND}`; export r; \
1559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1560 $(HOST_EXPORTS) \
1561 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1562 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1564 done; \
1565 echo "Doing install-html in mpfr"; \
1566 @@ -14780,7 +14777,7 @@
1567 r=`${PWD_COMMAND}`; export r; \
1568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1569 $(HOST_EXPORTS) \
1570 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1571 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1573 done; \
1574 echo "Doing installcheck in mpfr"; \
1575 @@ -14804,7 +14801,7 @@
1576 r=`${PWD_COMMAND}`; export r; \
1577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1578 $(HOST_EXPORTS) \
1579 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1580 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1582 done; \
1583 echo "Doing mostlyclean in mpfr"; \
1584 @@ -14828,7 +14825,7 @@
1585 r=`${PWD_COMMAND}`; export r; \
1586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1587 $(HOST_EXPORTS) \
1588 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1589 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1591 done; \
1592 echo "Doing clean in mpfr"; \
1593 @@ -14852,7 +14849,7 @@
1594 r=`${PWD_COMMAND}`; export r; \
1595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1596 $(HOST_EXPORTS) \
1597 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1598 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1600 done; \
1601 echo "Doing distclean in mpfr"; \
1602 @@ -14876,7 +14873,7 @@
1603 r=`${PWD_COMMAND}`; export r; \
1604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1605 $(HOST_EXPORTS) \
1606 - for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
1607 + for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS=""; do \
1608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1609 done; \
1610 echo "Doing maintainer-clean in mpfr"; \
1611 @@ -14914,6 +14911,7 @@
1612 esac; \
1613 module_srcdir=mpc; \
1614 $(SHELL) \
1615 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1616 $$s/$$module_srcdir/configure \
1617 --srcdir=$${topdir}/$$module_srcdir \
1618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1619 @@ -14935,9 +14933,9 @@
1620 TFLAGS="$(STAGE1_TFLAGS)"; \
1621 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1622 $(HOST_EXPORTS) \
1623 - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
1624 - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
1625 - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
1626 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1627 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1628 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1629 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
1630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1631 cd $(HOST_SUBDIR)/mpc || exit 1; \
1632 @@ -14948,10 +14946,10 @@
1633 esac; \
1634 module_srcdir=mpc; \
1635 $(SHELL) $$s/$$module_srcdir/configure \
1636 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1637 --srcdir=$${topdir}/$$module_srcdir \
1638 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1639 --target=${target_alias} \
1641 $(STAGE1_CONFIGURE_FLAGS) \
1642 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
1643 @endif mpc-bootstrap
1644 @@ -14969,9 +14967,9 @@
1645 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1646 $(HOST_EXPORTS) \
1647 $(POSTSTAGE1_HOST_EXPORTS) \
1648 - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
1649 - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
1650 - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
1651 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1652 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1653 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1654 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
1655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1656 cd $(HOST_SUBDIR)/mpc || exit 1; \
1657 @@ -14982,6 +14980,7 @@
1658 esac; \
1659 module_srcdir=mpc; \
1660 $(SHELL) $$s/$$module_srcdir/configure \
1661 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1662 --srcdir=$${topdir}/$$module_srcdir \
1663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1664 --target=${target_alias} \
1665 @@ -15003,9 +15002,9 @@
1666 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1667 $(HOST_EXPORTS) \
1668 $(POSTSTAGE1_HOST_EXPORTS) \
1669 - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
1670 - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
1671 - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
1672 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1673 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1674 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1675 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
1676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1677 cd $(HOST_SUBDIR)/mpc || exit 1; \
1678 @@ -15016,6 +15015,7 @@
1679 esac; \
1680 module_srcdir=mpc; \
1681 $(SHELL) $$s/$$module_srcdir/configure \
1682 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1683 --srcdir=$${topdir}/$$module_srcdir \
1684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1685 --target=${target_alias} \
1686 @@ -15037,9 +15037,9 @@
1687 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1688 $(HOST_EXPORTS) \
1689 $(POSTSTAGE1_HOST_EXPORTS) \
1690 - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
1691 - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
1692 - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
1693 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1694 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1695 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1696 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
1697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1698 cd $(HOST_SUBDIR)/mpc || exit 1; \
1699 @@ -15050,6 +15050,7 @@
1700 esac; \
1701 module_srcdir=mpc; \
1702 $(SHELL) $$s/$$module_srcdir/configure \
1703 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1704 --srcdir=$${topdir}/$$module_srcdir \
1705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1706 --target=${target_alias} \
1707 @@ -15071,9 +15072,9 @@
1708 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1709 $(HOST_EXPORTS) \
1710 $(POSTSTAGE1_HOST_EXPORTS) \
1711 - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
1712 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
1713 - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
1714 + CFLAGS="-O3 -m64 -pedantic @CPU_FLAGS@"; export CFLAGS; \
1715 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1716 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1717 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
1718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1719 cd $(HOST_SUBDIR)/mpc || exit 1; \
1720 @@ -15105,9 +15106,9 @@
1721 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1722 $(HOST_EXPORTS) \
1723 $(POSTSTAGE1_HOST_EXPORTS) \
1724 - CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
1725 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
1726 - LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
1727 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1728 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1729 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1730 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
1731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1732 cd $(HOST_SUBDIR)/mpc || exit 1; \
1733 @@ -15118,6 +15119,7 @@
1734 esac; \
1735 module_srcdir=mpc; \
1736 $(SHELL) $$s/$$module_srcdir/configure \
1737 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1738 --srcdir=$${topdir}/$$module_srcdir \
1739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1740 --target=${target_alias} \
1741 @@ -15139,9 +15141,9 @@
1742 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1743 $(HOST_EXPORTS) \
1744 $(POSTSTAGE1_HOST_EXPORTS) \
1745 - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
1746 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
1747 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
1748 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1749 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1750 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1751 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
1752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1753 cd $(HOST_SUBDIR)/mpc || exit 1; \
1754 @@ -15152,6 +15154,7 @@
1755 esac; \
1756 module_srcdir=mpc; \
1757 $(SHELL) $$s/$$module_srcdir/configure \
1758 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1759 --srcdir=$${topdir}/$$module_srcdir \
1760 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1761 --target=${target_alias} \
1762 @@ -15173,9 +15176,9 @@
1763 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1764 $(HOST_EXPORTS) \
1765 $(POSTSTAGE1_HOST_EXPORTS) \
1766 - CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
1767 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
1768 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
1769 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1770 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1771 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1772 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
1773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1774 cd $(HOST_SUBDIR)/mpc || exit 1; \
1775 @@ -15186,6 +15189,7 @@
1776 esac; \
1777 module_srcdir=mpc; \
1778 $(SHELL) $$s/$$module_srcdir/configure \
1779 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1780 --srcdir=$${topdir}/$$module_srcdir \
1781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1782 --target=${target_alias} \
1783 @@ -15207,9 +15211,9 @@
1784 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
1785 $(HOST_EXPORTS) \
1786 $(POSTSTAGE1_HOST_EXPORTS) \
1787 - CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
1788 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
1789 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
1790 + CFLAGS="-O3 -m64 @CPU_FLAGS@"; export CFLAGS; \
1791 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@"; export CXXFLAGS; \
1792 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@"; export LIBCFLAGS; \
1793 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
1794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
1795 cd $(HOST_SUBDIR)/mpc || exit 1; \
1796 @@ -15220,6 +15224,7 @@
1797 esac; \
1798 module_srcdir=mpc; \
1799 $(SHELL) $$s/$$module_srcdir/configure \
1800 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1801 --srcdir=$${topdir}/$$module_srcdir \
1802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
1803 --target=${target_alias} \
1804 @@ -15268,13 +15273,13 @@
1805 cd $(HOST_SUBDIR)/mpc && \
1807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1808 - CFLAGS="$(STAGE1_CFLAGS)" \
1809 - GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
1810 - CXXFLAGS="$(STAGE1_CXXFLAGS)" \
1811 - LIBCFLAGS="$(LIBCFLAGS)" \
1812 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1813 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1814 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1815 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1816 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1817 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1818 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1819 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1820 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1821 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1822 $(EXTRA_HOST_FLAGS) \
1823 $(STAGE1_FLAGS_TO_PASS) \
1824 TFLAGS="$(STAGE1_TFLAGS)" \
1825 @@ -15313,13 +15318,13 @@
1826 cd $(HOST_SUBDIR)/mpc && \
1828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1829 - CFLAGS="$(STAGE2_CFLAGS)" \
1830 - GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
1831 - CXXFLAGS="$(STAGE2_CXXFLAGS)" \
1832 - LIBCFLAGS="$(STAGE2_CFLAGS)" \
1833 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1834 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1835 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1836 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1837 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1838 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1839 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1840 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1841 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1842 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1843 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1844 TFLAGS="$(STAGE2_TFLAGS)" \
1845 $(TARGET-stage2-mpc)
1846 @@ -15356,13 +15361,13 @@
1847 cd $(HOST_SUBDIR)/mpc && \
1849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1850 - CFLAGS="$(STAGE3_CFLAGS)" \
1851 - GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
1852 - CXXFLAGS="$(STAGE3_CXXFLAGS)" \
1853 - LIBCFLAGS="$(STAGE3_CFLAGS)" \
1854 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1855 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1856 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1857 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1858 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1859 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1860 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1861 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1862 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1863 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1864 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1865 TFLAGS="$(STAGE3_TFLAGS)" \
1866 $(TARGET-stage3-mpc)
1867 @@ -15399,13 +15404,13 @@
1868 cd $(HOST_SUBDIR)/mpc && \
1870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1871 - CFLAGS="$(STAGE4_CFLAGS)" \
1872 - GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
1873 - CXXFLAGS="$(STAGE4_CXXFLAGS)" \
1874 - LIBCFLAGS="$(STAGE4_CFLAGS)" \
1875 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1876 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1877 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1878 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1879 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1880 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1881 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1882 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1883 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1884 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1886 TFLAGS="$(STAGE4_TFLAGS)" \
1887 $(TARGET-stage4-mpc)
1888 @@ -15442,13 +15447,13 @@
1889 cd $(HOST_SUBDIR)/mpc && \
1891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1892 - CFLAGS="$(STAGEprofile_CFLAGS)" \
1893 - GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
1894 - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
1895 - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
1896 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1897 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1898 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1899 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1900 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1901 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1902 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1903 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1904 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1905 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1907 TFLAGS="$(STAGEprofile_TFLAGS)" \
1908 $(TARGET-stageprofile-mpc)
1909 @@ -15485,13 +15490,13 @@
1910 cd $(HOST_SUBDIR)/mpc && \
1912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1913 - CFLAGS="$(STAGEtrain_CFLAGS)" \
1914 - GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
1915 - CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
1916 - LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
1917 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1918 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1919 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1920 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1921 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1922 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1923 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1924 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1925 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1926 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1928 TFLAGS="$(STAGEtrain_TFLAGS)" \
1929 $(TARGET-stagetrain-mpc)
1930 @@ -15528,13 +15533,13 @@
1931 cd $(HOST_SUBDIR)/mpc && \
1933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1934 - CFLAGS="$(STAGEfeedback_CFLAGS)" \
1935 - GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
1936 - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
1937 - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
1938 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1939 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1940 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1941 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1942 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1943 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1944 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1945 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1946 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1947 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1948 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1949 TFLAGS="$(STAGEfeedback_TFLAGS)" \
1950 $(TARGET-stagefeedback-mpc)
1951 @@ -15571,13 +15576,13 @@
1952 cd $(HOST_SUBDIR)/mpc && \
1953 $$s/gcc/config/i386/$(AUTO_PROFILE) \
1954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1955 - CFLAGS="$(STAGEautoprofile_CFLAGS)" \
1956 - GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
1957 - CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
1958 - LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
1959 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1960 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1961 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1962 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1963 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1964 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1965 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1966 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1967 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1968 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1970 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
1971 $(TARGET-stageautoprofile-mpc)
1972 @@ -15614,13 +15619,13 @@
1973 cd $(HOST_SUBDIR)/mpc && \
1975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
1976 - CFLAGS="$(STAGEautofeedback_CFLAGS)" \
1977 - GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
1978 - CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
1979 - LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
1980 - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
1981 - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
1982 - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
1983 + CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1984 + GENERATOR_CFLAGS="-O3 -m64 @CPU_FLAGS@" \
1985 + CXXFLAGS="-O3 -m64 @CPU_FLAGS@" \
1986 + LIBCFLAGS="-O3 -m64 @CPU_FLAGS@" \
1987 + CFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1988 + CXXFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1989 + LIBCFLAGS_FOR_TARGET="-O3 -m64 @CPU_FLAGS@" \
1990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
1991 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
1992 $(TARGET-stageautofeedback-mpc)