re PR bootstrap/37739 (bootstrap broken with core gcc > gcc-4.2.x)

2009-10-08  Andreas Tobler  <a.tobler@schweiz.org>

	PR bootstrap/37739
	* config.host: Use config/x-cflags-O1 for powerpc FreeBSD.

From-SVN: r152550
This commit is contained in:
Andreas Tobler 2009-10-08 05:09:54 +00:00 committed by Andreas Tobler
parent 32a58b37ef
commit 4c93ed2385
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-10-08 Andreas Tobler <a.tobler@schweiz.org>
PR bootstrap/37739
* config.host: Use config/x-cflags-O1 for powerpc FreeBSD.
2009-10-07 Joseph Myers <joseph@codesourcery.com>
PR c/41182

View File

@ -130,7 +130,7 @@ case ${host} in
;;
esac
case ${host} in
*-*-linux* )
*-*-linux* | *-*-freebsd*)
if test "${GCC}:${ac_cv_sizeof_long}" = yes:4; then
# On powerpc*-*-linux* use -Wl,--relax to link cc1,
# if ld is new enough, otherwise force -O1 in CFLAGS.