(stamp-crt{,S}): Use -o to avoid conflicts if both of these are built
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 17 May 1996 13:54:13 +0000 (09:54 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 17 May 1996 13:54:13 +0000 (09:54 -0400)
in parallel.

From-SVN: r11987

gcc/Makefile.in

index 4abe543..ece08a6 100644 (file)
@@ -1041,8 +1041,7 @@ stamp-crt:        crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h
        mv crtstuff$(objext) crtbegin$(objext)
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
          -DCRT_END -finhibit-size-directive -fno-inline-functions \
-         -g0 -c $(srcdir)/crtstuff.c
-       mv crtstuff$(objext) crtend$(objext)
+         -g0 -c $(srcdir)/crtstuff.c -o crtend$(objext)
        touch stamp-crt
 
 # On some systems we also want to install versions of these files
@@ -1056,8 +1055,7 @@ stamp-crtS:       crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h
        mv crtstuff$(objext) crtbeginS$(objext)
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS_S) \
          -DCRT_END -finhibit-size-directive -fno-inline-functions \
-         -g0 -c $(srcdir)/crtstuff.c
-       mv crtstuff$(objext) crtendS$(objext)
+         -g0 -c $(srcdir)/crtstuff.c -o crtendS$(objext)
        touch stamp-crtS
 
 # Compile the start modules crt0.o and mcrt0.o that are linked with every program