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]

Re: fix darwin redefinition warning


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


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