* config.gcc: Do not use rs6000-c.c on powerpc-darwin.
authorRichard Henderson <rth@redhat.com>
Sun, 19 May 2002 02:42:37 +0000 (19:42 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 19 May 2002 02:42:37 +0000 (19:42 -0700)
From-SVN: r53604

gcc/ChangeLog
gcc/config.gcc

index 79ae7ff56e30d82a40a302da50de31fb01d5a4a2..c2a3a87e51fb8778ee1b49b9a7f205c3d8459e7f 100644 (file)
@@ -4,6 +4,8 @@
        REGISTER_TARGET_PRAGMAS.
        * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
 
+       * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
+
 2002-05-18  Richard Henderson  <rth@redhat.com>
 
        * system.h (SELECT_RTX_SECTION): Poison.
index e6c268c1aec3bad545f752c6d7780b41c911553f..766f5993eb751b4060b071aa93ff3bf6607bc246 100644 (file)
@@ -3650,9 +3650,15 @@ powerpc*-*-* | rs6000-*-*)
                        fi
                        ;;
        esac
-       c_target_objs="rs6000-c.o"
-       cxx_target_objs="rs6000-c.o"
-       tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
+       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