summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2004-07-13 21:03:40 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2004-07-13 21:03:40 +0000
commit79acdfbd39f0127e25ba7aad63839b6455171e08 (patch)
tree62825670c1162f70105c724d279ff92420ba893c /sys/arch/sparc
parent4d292eec5452f2145e7e2e8155ad77db73a23a7d (diff)
errno changes, lib major version bumps, and general flag day
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/stand/Makefile.inc3
-rw-r--r--sys/arch/sparc/stand/libsa/Makefile4
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