diff options
-rw-r--r-- | gnu/lib/libgcc/Makefile | 10 | ||||
-rw-r--r-- | gnu/usr.bin/cc/libgcc/Makefile | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index e6024eb..e125ebf 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.8 1995/03/12 20:17:07 phk Exp $ +# $Id: Makefile,v 1.9 1996/05/07 23:15:14 wosch Exp $ # LIB= gcc @@ -16,13 +16,13 @@ P2OBJS=${LIB2OBJS:.o=.po} ${LIB1OBJS}: libgcc1.c ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c - @${LD} -x -r ${.TARGET} - @mv -f a.out ${.TARGET} + @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv -f ${.TARGET}.tmp ${.TARGET} ${LIB2OBJS}: libgcc2.c ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c - @${LD} -x -r ${.TARGET} - @mv -f a.out ${.TARGET} + @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv -f ${.TARGET}.tmp ${.TARGET} .if !defined(NOPIC) ${LIB1SOBJS}: libgcc1.c diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile index e6024eb..e125ebf 100644 --- a/gnu/usr.bin/cc/libgcc/Makefile +++ b/gnu/usr.bin/cc/libgcc/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.8 1995/03/12 20:17:07 phk Exp $ +# $Id: Makefile,v 1.9 1996/05/07 23:15:14 wosch Exp $ # LIB= gcc @@ -16,13 +16,13 @@ P2OBJS=${LIB2OBJS:.o=.po} ${LIB1OBJS}: libgcc1.c ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c - @${LD} -x -r ${.TARGET} - @mv -f a.out ${.TARGET} + @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv -f ${.TARGET}.tmp ${.TARGET} ${LIB2OBJS}: libgcc2.c ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c - @${LD} -x -r ${.TARGET} - @mv -f a.out ${.TARGET} + @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv -f ${.TARGET}.tmp ${.TARGET} .if !defined(NOPIC) ${LIB1SOBJS}: libgcc1.c |