Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sparc rm -f ${.TARGET} before trying to > writ...
details: https://anonhg.NetBSD.org/src/rev/9df3355d2d87
branches: trunk
changeset: 764133:9df3355d2d87
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Apr 12 03:35:47 2011 +0000
description:
rm -f ${.TARGET} before trying to > write to it; some how mine ended up
being mode 444 and the build failed.
diffstat:
lib/libc/arch/sparc/Makefile.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 0084cc5d9583 -r 9df3355d2d87 lib/libc/arch/sparc/Makefile.inc
--- a/lib/libc/arch/sparc/Makefile.inc Tue Apr 12 03:06:21 2011 +0000
+++ b/lib/libc/arch/sparc/Makefile.inc Tue Apr 12 03:35:47 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.13 2008/10/26 07:43:07 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.14 2011/04/12 03:35:47 mrg Exp $
SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
@@ -9,24 +9,28 @@
sdiv.S: ${LIBCDIR}/arch/sparc/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
+ @rm -f ${.TARGET}
@(echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')"; \
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
@chmod 444 ${.TARGET}
udiv.S: ${LIBCDIR}/arch/sparc/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
+ @rm -f ${.TARGET}
@(echo "define(NAME,\`.udiv')define(OP,\`div')define(S,\`false')"; \
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
@chmod 444 ${.TARGET}
rem.S: ${LIBCDIR}/arch/sparc/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
+ @rm -f ${.TARGET}
@(echo "define(NAME,\`.rem')define(OP,\`rem')define(S,\`true')"; \
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
@chmod 444 ${.TARGET}
urem.S: ${LIBCDIR}/arch/sparc/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
+ @rm -f ${.TARGET}
@(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
@chmod 444 ${.TARGET}
Home |
Main Index |
Thread Index |
Old Index