Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/gnu/dist/gcc/gcc Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/04d63fd15551
branches:  netbsd-3
changeset: 577505:04d63fd15551
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Nov 21 20:00:27 2005 +0000

description:
Pull up following revision(s) (requested by martin in ticket #959):
        gnu/dist/gcc/gcc/configure.in: revision 1.5
As Richard Earnshaw put it: "with_cpu is a property of the target."
Reset it to the default (command line dependend) before each turn
of "config.gcc", so each invocation gets a clean state and only the
changes from the last round persist.
This fixes the build of a sparc toolchain on a sparc64 host.

diffstat:

 gnu/dist/gcc/gcc/configure.in |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 7f9a3a60d0ab -r 04d63fd15551 gnu/dist/gcc/gcc/configure.in
--- a/gnu/dist/gcc/gcc/configure.in     Mon Nov 21 19:59:17 2005 +0000
+++ b/gnu/dist/gcc/gcc/configure.in     Mon Nov 21 20:00:27 2005 +0000
@@ -880,7 +880,9 @@
 # For the host machine, we save the xm_file variable as host_xm_file;
 # then we decode the target machine and forget everything else
 # that came from the host machine.
+arg_with_cpu="$with_cpu"
 for machine in $build $host $target; do
+       with_cpu="$arg_with_cpu"
        . ${srcdir}/config.gcc
 done
 



Home | Main Index | Thread Index | Old Index