t-sol2 (crt[1in].o): Add missing -c.
authorDoug Evans <dje@gnu.org>
Tue, 16 Jan 1996 18:51:39 +0000 (18:51 +0000)
committerDoug Evans <dje@gnu.org>
Tue, 16 Jan 1996 18:51:39 +0000 (18:51 +0000)
* i386/t-sol2 (crt[1in].o): Add missing -c.
* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
Source files are assembler.

From-SVN: r11031

gcc/config/i386/t-sol2
gcc/config/sparc/t-sol2

index a668fcb870236e3e21faa502e006c491bbb295b0..609ad00593e3f2e67b01a5db651d84e1c81b88e8 100644 (file)
@@ -15,13 +15,13 @@ gmon.o:     $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
 # the comments with sed.  This bug may only be in the Early Access releases.
 crt1.o: $(srcdir)/config/i386/sol2-c1.asm
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
-       $(GCC_FOR_TARGET) -o crt1.o crt1.s
+       $(GCC_FOR_TARGET) -c -o crt1.o crt1.s
 crti.o: $(srcdir)/config/i386/sol2-ci.asm
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
-       $(GCC_FOR_TARGET) -o crti.o crti.s
+       $(GCC_FOR_TARGET) -c -o crti.o crti.s
 crtn.o: $(srcdir)/config/i386/sol2-cn.asm
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
-       $(GCC_FOR_TARGET) -o crtn.o crtn.s
+       $(GCC_FOR_TARGET) -c -o crtn.o crtn.s
 
 # We need to use -fPIC when we are using gcc to compile the routines in
 # crtstuff.c.  This is only really needed when we are going to use gcc/g++
index 11511fa16266a06d714454d628733bc49fbe298c..7e83196153c2f0cb4abc0b2cb9e2d4eca0b120e7 100644 (file)
@@ -11,13 +11,13 @@ gmon.o:     $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
 
 # Assemble startup files.
 crt1.o: $(srcdir)/config/sparc/sol2-c1.asm
-       $(GCC_FOR_TARGET) -o crt1.o $(srcdir)/config/sparc/sol2-c1.asm
+       $(GCC_FOR_TARGET) -c -o crt1.o -x assembler $(srcdir)/config/sparc/sol2-c1.asm
 crti.o: $(srcdir)/config/sparc/sol2-ci.asm
-       $(GCC_FOR_TARGET) -o crti.o $(srcdir)/config/sparc/sol2-ci.asm
+       $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/sparc/sol2-ci.asm
 crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
-       $(GCC_FOR_TARGET) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm
+       $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/sparc/sol2-cn.asm
 gcrt1.o: $(srcdir)/config/sparc/sol2-g1.asm
-       $(GCC_FOR_TARGET) -o gcrt1.o $(srcdir)/config/sparc/sol2-g1.asm
+       $(GCC_FOR_TARGET) -c -o gcrt1.o -x assembler $(srcdir)/config/sparc/sol2-g1.asm
 
 # We need to use -fPIC when we are using gcc to compile the routines in
 # crtstuff.c.  This is only really needed when we are going to use gcc/g++