summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
diff options
context:
space:
mode:
authorenami <enami@NetBSD.org>1998-05-08 00:36:07 +0000
committerenami <enami@NetBSD.org>1998-05-08 00:36:07 +0000
commit2e7b340a0cb93b70635dce5652d38bc5ccc873ef (patch)
tree48244056e4f8fdef8b9f50d4f9e28a8e49de7ba6 /gnu/usr.bin/gcc
parent469658d53398ab41a2dc7b174944334aa4d55bee (diff)
Use a name based on a target name instead of fixed one as a name of
intermediate file so that parallel make works.
Diffstat (limited to 'gnu/usr.bin/gcc')
-rw-r--r--gnu/usr.bin/gcc/libgcc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc/libgcc/Makefile b/gnu/usr.bin/gcc/libgcc/Makefile
index fa7b1d5875f..15bc3215c65 100644
--- a/gnu/usr.bin/gcc/libgcc/Makefile
+++ b/gnu/usr.bin/gcc/libgcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/02/19 02:17:06 cgd Exp $
+# $NetBSD: Makefile,v 1.8 1998/05/08 00:36:07 enami Exp $
LIB= gcc
NOLINT= nolint (gcc private fns library)
@@ -41,8 +41,8 @@ LIB2SOBJS=${LIB2OBJS:.o=.so}
${LIB2OBJS}: libgcc2.c
${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
- @${LD} -x -r ${.TARGET}
- @mv a.out ${.TARGET}
+ @${LD} -x -r -o ${.TARGET}.o ${.TARGET}
+ @mv ${.TARGET}.o ${.TARGET}
#${LIB1SOBJS}: libgcc1.c
# ${COMPILE.c} -fpic -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c