diff options
author | phk <phk@FreeBSD.org> | 1996-05-28 16:24:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-28 16:24:53 +0000 |
commit | 5f845e903ba063f27d1b29e19d5b93cba7ffec31 (patch) | |
tree | 3f3146490bf23d584a70688bff9ac8a23864512d /lib/libc/sys/Makefile.inc | |
parent | f395b616d32b574146934313f8d1b25d144e3a1d (diff) | |
download | FreeBSD-src-5f845e903ba063f27d1b29e19d5b93cba7ffec31.zip FreeBSD-src-5f845e903ba063f27d1b29e19d5b93cba7ffec31.tar.gz |
Use ld -O insted of ld -o + mv.
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 411c3d9..a9656ce 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 -# $Id: Makefile.inc,v 1.17 1996/05/07 23:16:38 wosch Exp $ +# $Id: Makefile.inc,v 1.18 1996/05/09 11:30:51 phk Exp $ # sys sources .PATH: ${.CURDIR}/${MACHINE}/sys ${.CURDIR}/sys @@ -44,16 +44,14 @@ ${ASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.o @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o - @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.o - @mv -f ${.PREFIX}.tmp ${.PREFIX}.o + @${LD} -O ${.PREFIX}.o -x -r ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.po @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po - @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.po - @mv -f ${.PREFIX}.tmp ${.PREFIX}.po + @${LD} -O ${.PREFIX}.po -x -r ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -65,16 +63,14 @@ ${PSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.o @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o - @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.o - @mv -f ${.PREFIX}.tmp ${.PREFIX}.o + @${LD} -O ${.PREFIX}.o -x -r ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.po @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po - @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.po - @mv -f ${.PREFIX}.tmp ${.PREFIX}.po + @${LD} -O ${.PREFIX}.po -x -r ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h |