Commit 21d4969d by Richard Kenner

(stamp-crt{,S}): Use -o to avoid conflicts if both of these are built

in parallel.

From-SVN: r11987
parent 1427d6d2
...@@ -1041,8 +1041,7 @@ stamp-crt: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h ...@@ -1041,8 +1041,7 @@ stamp-crt: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h
mv crtstuff$(objext) crtbegin$(objext) mv crtstuff$(objext) crtbegin$(objext)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
-DCRT_END -finhibit-size-directive -fno-inline-functions \ -DCRT_END -finhibit-size-directive -fno-inline-functions \
-g0 -c $(srcdir)/crtstuff.c -g0 -c $(srcdir)/crtstuff.c -o crtend$(objext)
mv crtstuff$(objext) crtend$(objext)
touch stamp-crt touch stamp-crt
# On some systems we also want to install versions of these files # 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 ...@@ -1056,8 +1055,7 @@ stamp-crtS: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h
mv crtstuff$(objext) crtbeginS$(objext) mv crtstuff$(objext) crtbeginS$(objext)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS_S) \ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS_S) \
-DCRT_END -finhibit-size-directive -fno-inline-functions \ -DCRT_END -finhibit-size-directive -fno-inline-functions \
-g0 -c $(srcdir)/crtstuff.c -g0 -c $(srcdir)/crtstuff.c -o crtendS$(objext)
mv crtstuff$(objext) crtendS$(objext)
touch stamp-crtS touch stamp-crtS
# Compile the start modules crt0.o and mcrt0.o that are linked with every program # Compile the start modules crt0.o and mcrt0.o that are linked with every program
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment