diff options
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/stand/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/arch/sparc/stand/libsa/Makefile | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc/stand/Makefile.inc b/sys/arch/sparc/stand/Makefile.inc index 1c1d5e4417d..da717ed50b9 100644 --- a/sys/arch/sparc/stand/Makefile.inc +++ b/sys/arch/sparc/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.11 2002/12/02 09:00:25 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.12 2004/07/13 21:03:38 marc Exp $ # $NetBSD: Makefile.inc,v 1.5 1996/02/01 22:33:01 mycroft Exp $ BINDIR= /usr/mdec @@ -15,6 +15,7 @@ RELOC2!= perl -e 'printf "0x%x", ${RELOC_TEST} + 0x40000' CFLAGS+= -fno-stack-protector DEFS= -DSTANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS +DEFS+= -Derrno=errno ### Figure out what to use for libkern LIBKERNDIR= ${.CURDIR}/../libkern diff --git a/sys/arch/sparc/stand/libsa/Makefile b/sys/arch/sparc/stand/libsa/Makefile index 0002c987e1a..cc9a3519bd3 100644 --- a/sys/arch/sparc/stand/libsa/Makefile +++ b/sys/arch/sparc/stand/libsa/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.2 2003/06/01 17:00:39 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2004/07/13 21:03:39 marc Exp $ LIB= sa .PATH: ${.CURDIR}/../../../../lib/libsa -CFLAGS= -O2 -D__INTERNAL_LIBSA_CREAD \ +CFLAGS= -O2 -D__INTERNAL_LIBSA_CREAD -Derrno=errno \ -I${.CURDIR} -I${.CURDIR}/../include -I${.CURDIR}/../.. \ -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \ -I${.CURDIR}/../../../../lib/libsa |