summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.host2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 885532b2fd8..bf79d8670ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config.host b/gcc/config.host
index 4affcb06b17..9738345c8a2 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -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.