This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix bootstrap for powerpc FreeBSD


Hi,

the attached patch fixes bootstrap for PowerPC FreeBSD on trunk.

FreeBSD still uses binutils-2.15 and there is no update available/possible. But this is another story. Thanks RMS. (My personal opinion)

Is this ok for trunk, after bootstrap completed & tests?

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

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

Index: config.host
===================================================================
--- config.host	(revision 152538)
+++ config.host	(working copy)
@@ -130,7 +130,7 @@
         ;;
     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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]