This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix darwin redefinition warning
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 18 May 2002 19:44:29 -0700
- Subject: Re: fix darwin redefinition warning
- References: <20020518193232.A28062@redhat.com>
Followup to the other patch. The assignment here was overriding
the assignment made in the powerpc-*-darwin* case, so we lost
darwin-c.c.
r~
* config.gcc: Do not use rs6000-c.c on powerpc-darwin.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.193
diff -c -p -d -r1.193 config.gcc
*** config.gcc 11 May 2002 16:25:03 -0000 1.193
--- config.gcc 19 May 2002 02:41:51 -0000
*************** powerpc*-*-* | rs6000-*-*)
*** 3650,3658 ****
fi
;;
esac
! c_target_objs="rs6000-c.o"
! cxx_target_objs="rs6000-c.o"
! tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
;;
sparc*-*-*)
case ".$with_cpu" in
--- 3650,3664 ----
fi
;;
esac
! case $machine in
! *-*-darwin*)
! ;;
! *)
! c_target_objs="rs6000-c.o"
! cxx_target_objs="rs6000-c.o"
! tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
! ;;
! esac
;;
sparc*-*-*)
case ".$with_cpu" in