re PR bootstrap/37739 (bootstrap broken with core gcc > gcc-4.2.x)
authorAndreas Tobler <a.tobler@schweiz.org>
Thu, 8 Oct 2009 05:09:54 +0000 (05:09 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Thu, 8 Oct 2009 05:09:54 +0000 (07:09 +0200)
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

gcc/ChangeLog
gcc/config.host

index 885532b2fd8f2a21aed926276897391eb7e09873..bf79d8670efcb391b5476cfa41fee71977cb6f97 100644 (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
index 4affcb06b178ca4109dd7ffd26ebb56e0881224b..9738345c8a2ffc7c793b6daa9c7b67facc476871 100644 (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.