diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-07-30 14:32:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-07-30 14:32:47 +0000 |
commit | cb0ac0cd72f8c0c9be3e79bd34609970e712364d (patch) | |
tree | 45077774d9f90a6e621be12c751f9129ebdeeb26 /sys/arch/i386/stand/Makefile.inc | |
parent | e632c9bd90113c2fbced853237abfe038b5beb7e (diff) |
Add libkern and link it in after libz
Diffstat (limited to 'sys/arch/i386/stand/Makefile.inc')
-rw-r--r-- | sys/arch/i386/stand/Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc index 537d4862158..7eb3339aa4e 100644 --- a/sys/arch/i386/stand/Makefile.inc +++ b/sys/arch/i386/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.36 2004/07/24 17:39:27 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.37 2005/07/30 14:32:46 millert Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector @@ -43,6 +43,11 @@ LIBSA=${SADIR}/libsa/libsa.a .else LIBSA=${SADIR}/libsa/${__objdir}/libsa.a .endif +.if exists(${SADIR}/libkern/libkern.a) +LIBKERN=${SADIR}/libkern/libkern.a +.else +LIBKERN=${SADIR}/libkern/${__objdir}/libkern.a +.endif .if exists(${SADIR}/libz/libz.a) LIBZ=${SADIR}/libz/libz.a .else |