summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-17 23:30:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-17 23:30:32 +0000
commit6ea3b26753dba611e6747761306004489baa3346 (patch)
treefa678f5e07099fa651d813e8dd75515917529b53 /sys
parent0cf16fc31fc22ae102d914beb3beea7e4b52a44c (diff)
prper variable handling
-nostdinc do not feed data into text
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/boot/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile
index 60bff25d986..c6c17f9ab84 100644
--- a/sys/arch/i386/stand/boot/Makefile
+++ b/sys/arch/i386/stand/boot/Makefile
@@ -1,14 +1,14 @@
-# $OpenBSD: Makefile,v 1.7 1997/06/30 21:11:19 kstailey Exp $
+# $OpenBSD: Makefile,v 1.8 1997/07/17 23:30:31 mickey Exp $
PROG= boot
SRCS= srt0.S boot.c cmd.c conf.c
-CFLAGS+=$(SACFLAGS) -I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../libsa
-AFLAGS+=-Wa,-R
+#AFLAGS+=-Wa,-R
# AFLAGS+=-Wa,-a
LD=ld
-LDFLAGS+=-nostdlib -Ttext $(START) -z -x -e start_boot -Bstatic
+LDFLAGS+=-nostdlib -Ttext $(START) -z -x -Bstatic
INSTALL_STRIP=
MAN= boot.8
+S =${.CURDIR}/../../../..
SADIR= ${.CURDIR}/..
LDADD= ${LIBSA} ${LIBZ}
@@ -28,6 +28,7 @@ ${PROG}: $(OBJS) $(DPADD)
.include <bsd.prog.mk>
CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC)
+CFLAGS+=$(SACFLAGS)
.ifdef NO_NET
CPPFLAGS+=-DNO_NET
.endif