diff options
author | 2000-06-29 16:30:26 +0000 | |
---|---|---|
committer | 2000-06-29 16:30:26 +0000 | |
commit | 0dda91bc0edae6971402187d33be90e542ca4208 (patch) | |
tree | b3be0a86cddd5b3fe0a86616c8e9722f0d2a59db /sys/lib | |
parent | in order to build bzero from memset KERNDIR has to be exported. (diff) | |
download | wireguard-openbsd-0dda91bc0edae6971402187d33be90e542ca4208.tar.xz wireguard-openbsd-0dda91bc0edae6971402187d33be90e542ca4208.zip |
fix building bzero out of memset.c; from miod@
(that makefile:kerndir fix was needed to build the kernel ;)
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libkern/arch/hppa/Makefile.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/lib/libkern/arch/hppa/Makefile.inc b/sys/lib/libkern/arch/hppa/Makefile.inc index 10a8edd6f43..4e344d184f3 100644 --- a/sys/lib/libkern/arch/hppa/Makefile.inc +++ b/sys/lib/libkern/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.9 2000/06/16 19:56:54 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2000/06/29 16:30:26 mickey Exp $ SRCS+= __main.c imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \ random.c ashrdi3.c divdi3.c strncpy.c strncmp.c strcmp.c memchr.c \ @@ -11,9 +11,9 @@ OBJS+= bzero.o SRCS+= bcopy.S spcopy.S CLEANFILES+= bcopy.S spcopy.S bzero.o -bzero.o: ${.CURDIR}/memset.c - @echo "${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}" - @${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}.o +bzero.o: ${KERNDIR}/memset.c + @echo "${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}" + @${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}.o @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o |